Update index.py

This commit is contained in:
Mr Chen
2024-06-10 20:55:31 +08:00
parent 665e7454bb
commit 6d5b5efafa
+4 -1
View File
@@ -3755,7 +3755,10 @@ def installPreInspection(version):
def uninstallPreInspection(version):
stop(version)
data_dir = getDataDir()
if os.path.exists(data_dir):
stop(version)
if mw.isDebugMode():
return 'ok'