Update models.py
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s

This commit is contained in:
Corban-Lee Jones 2024-12-11 23:23:07 +00:00
parent a8d4b8259a
commit 52e42d42ca

View File

@ -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