Skip to content

Commit

Permalink
Host: Avoid repeated rebuilds
Browse files Browse the repository at this point in the history
A time range's end is excluded from the check.
  • Loading branch information
skyjake committed Feb 6, 2012
1 parent 4628b47 commit 59147ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/host/doomsday-host
Expand Up @@ -132,7 +132,7 @@ def timeInRange(mark, start, end):
e = breakTime(end)
if mark[0] != s[0] or mark[0] != e[0]: return False
markMins = mins(mark[1], mark[2])
if markMins < mins(s[1], s[2]) or markMins > mins(e[1], e[2]):
if markMins < mins(s[1], s[2]) or markMins >= mins(e[1], e[2]):
return False
return True

Expand Down

0 comments on commit 59147ed

Please sign in to comment.