Skip to content

Commit

Permalink
Small bug fix: compare actual time to time
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Jun 19, 2014
1 parent f00d8df commit cfa0e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThemeScheduler.py
Expand Up @@ -216,7 +216,7 @@ def update_next(cls, seconds, now):
if lowest is not None:
cls.lowest = lowest

if (cls.next_change == cls.lowest.time and seconds < cls.lowest.time):
if (cls.next_change.time == cls.lowest.time and seconds < cls.lowest.time):
# The next change is the first of the next day
# But the time is not greater meaning we are already
# the next day, intialize to -1 to signify the last good
Expand Down

0 comments on commit cfa0e9e

Please sign in to comment.