Update index.py
This commit is contained in:
parent
e6f8e3e6e3
commit
753460c594
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue