fix 500 error i hope
parent
93e8c43ddc
commit
4785ee13d4
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue