Update mw.py

This commit is contained in:
Mr Chen
2024-11-03 01:34:10 +08:00
parent 5e53c637c3
commit 179bc05e09
+2 -3
View File
@@ -520,10 +520,9 @@ def isDebugMode():
if isAppleSystem():
return True
debugPath = getPanelDir() + "/data/debug.pl"
if os.path.exists(debugPath):
debug = M('option').field('name').where('name=?',('debug',)).getField('value')
if debug == 'open':
return True
return False
def isNumber(s):