Skip to content

Commit

Permalink
Merge pull request #22 from plivo/ppai-test-interval-zero
Browse files Browse the repository at this point in the history
Allow interval to be zero
  • Loading branch information
ppai-plivo authored Oct 25, 2021
2 parents 95e7f7a + 27e37e0 commit 6845ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharq/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def is_valid_interval(interval):
if not isinstance(interval, int):
return False

if interval <= 0:
if interval < 0:
return False

return True
Expand Down

0 comments on commit 6845ac8

Please sign in to comment.