diff --git a/utils/models.py b/utils/models.py index 8fa7908..9c1b691 100644 --- a/utils/models.py +++ b/utils/models.py @@ -219,7 +219,7 @@ class Player(Model): summary = await self.get_steam_summary() # If the summary exists and isn't outdated then return it, no work to be done! - if summary and summary.last_update + timedelta(days=1) > datetime.today(): + if summary and summary.last_update + timedelta(days=1) > datetime.now(tz=utc): return summary # Update if summary is NoneType or older than 1 day