forked from rDrama/rDrama
1
0
Fork 0

fix 500 error i hope

master
Aevann 2024-03-02 19:24:47 +02:00
parent 93e8c43ddc
commit 4785ee13d4
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class User(Base):
if succeeded:
g.db.add(self)
if reason:
if reason and logs:
for currency, amount in logs:
if not amount: continue
currency_log = CurrencyLog(