Update index.py

This commit is contained in:
dami 2025-04-14 15:59:52 +08:00
parent e6f8e3e6e3
commit 753460c594
1 changed files with 2 additions and 1 deletions

View File

@ -3486,10 +3486,11 @@ def installPreInspection(version):
def uninstallPreInspection(version):
data_dir = getDataDir()
if os.path.exists(data_dir):
stop(version)
else:
return 'ok'
if mw.isDebugMode():
return 'ok'