Skip to content

Commit

Permalink
Test PR: Allow interval to be zero
Browse files Browse the repository at this point in the history
Signed-off-by: Prashanth Pai <[email protected]>
  • Loading branch information
ppai-plivo committed Oct 25, 2021
1 parent 95e7f7a commit 27e37e0
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 27e37e0

Please sign in to comment.