mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:29:25 +08:00
Update mw.py
This commit is contained in:
+1
-2
@@ -461,8 +461,7 @@ def writeLog(stype, msg, args=()):
|
||||
uid = 1
|
||||
if 'uid' in session:
|
||||
uid = session['uid']
|
||||
writeDbLog(stype, msg, args, uid)
|
||||
return True
|
||||
return writeDbLog(stype, msg, args, uid)
|
||||
except Exception as e:
|
||||
print(getTracebackInfo())
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user