mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ def writeDbLog(stype, msg, args=(), uid=1):
|
||||
try:
|
||||
import thisdb
|
||||
format_msg = getInfo(msg, args)
|
||||
thisdb.addLog(stype, format_msg, uid)
|
||||
thisdb.addLog(stype, format_msg, uid=uid)
|
||||
return True
|
||||
except Exception as e:
|
||||
print("writeDbLog:"+str(e))
|
||||
|
||||
Reference in New Issue
Block a user