Update mw.py

pull/632/head
Mr Chen 6 months ago
parent 795bee7de3
commit 98a53b8639
  1. 2
      web/core/mw.py

@ -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))

Loading…
Cancel
Save