diff options
author | 2020-02-23 19:24:05 +0100 | |
---|---|---|
committer | 2020-02-23 19:24:05 +0100 | |
commit | 6ccf0be796b63293f2dc4a8634fa6f834c2dd55a (patch) | |
tree | 6e8ad50a7eea4e8a4bf4ffb145783923104b0fe1 | |
parent | Merge pull request #353 from python-discord/F4zi/bug/LAST_EMOJI-352 (diff) |
Calculate seconds as n_hours * seconds_in_hour
This is a lot more readable than just 86400.
-rw-r--r-- | bot/seasons/season.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/season.py b/bot/seasons/season.py index e7b7a69c..8fc68491 100644 --- a/bot/seasons/season.py +++ b/bot/seasons/season.py @@ -386,7 +386,7 @@ class SeasonManager(commands.Cog): while True: await asyncio.sleep(self.sleep_time) # Sleep until midnight - self.sleep_time = 86400 # Next time, sleep for 24 hours. + self.sleep_time = 24 * 3600 # Next time, sleep for 24 hours # If the season has changed, load it. new_season = get_season(date=datetime.datetime.utcnow()) |