Skip to content

Commit 98a53b8

Browse files
committed
Update mw.py
1 parent 795bee7 commit 98a53b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/core/mw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def writeDbLog(stype, msg, args=(), uid=1):
604604
try:
605605
import thisdb
606606
format_msg = getInfo(msg, args)
607-
thisdb.addLog(stype, format_msg, uid)
607+
thisdb.addLog(stype, format_msg, uid=uid)
608608
return True
609609
except Exception as e:
610610
print("writeDbLog:"+str(e))

0 commit comments

Comments
 (0)