Update models.py
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
This commit is contained in:
parent
a8d4b8259a
commit
52e42d42ca
@ -102,6 +102,7 @@ class Player(Model):
|
||||
# I know this is terrible efficiency-wise, but the tortoise docs
|
||||
# are so bad and the annotations don't work like Django's models. Deal with it!
|
||||
for session in sessions:
|
||||
log.info("session playtime: %s", session.playtime)
|
||||
total_playtime += session.playtime
|
||||
|
||||
return total_playtime
|
||||
|
Reference in New Issue
Block a user