forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2023-10-02 08:06:19 +03:00
parent 3cce4f28fb
commit a46a5ff026
1 changed files with 1 additions and 0 deletions

View File

@ -870,6 +870,7 @@ def hole_log(v, sub):
if mod_id:
actions = actions.filter_by(user_id=mod_id)
kinds = set([x.kind for x in actions])
if kind: kinds |= kind
types2 = {}
for k,val in types.items():
if k in kinds: types2[k] = val