Skip to content

Commit

Permalink
cant remember what
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Sep 20, 2023
1 parent 738f279 commit 2754e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctok/tokens/timeout_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class TimeoutToken(ConditionToken):
def __init__(self, timeout: Union[int, float], *tokens: AbstractToken, cancelled: bool = False, monotonic: bool = True):
if timeout < 0:
raise ValueError
raise ValueError('')

if monotonic:
timeout *= 1_000_000_000
Expand Down

0 comments on commit 2754e57

Please sign in to comment.