Skip to content

Commit

Permalink
Update d4timers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juddisjudd authored Oct 28, 2023
1 parent cf4a3ce commit 2bf6da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d4timers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_next_legion_event(legion_times):
"""Get the next legion event based on the current time and determine if it's currently active."""
now = datetime.utcnow().replace(tzinfo=pytz.utc)
for time in legion_times:
if time <= now < (time + timedelta(minutes=25)):
if time <= now < (time + timedelta(minutes=3)):
return time, True
elif now < time:
return time, False
Expand Down

0 comments on commit 2bf6da6

Please sign in to comment.