Update index.py

This commit is contained in:
Mr Chen
2024-06-10 20:30:29 +08:00
parent e2afed1dc4
commit 0af1308b7d
+5 -1
View File
@@ -3495,7 +3495,11 @@ def installPreInspection(version):
def uninstallPreInspection(version):
stop(version)
data_dir = getServerDir()+'/data/mysql'
if os.path.exists(data_dir):
stop(version)
if mw.isDebugMode():
return 'ok'