Skip to content

Commit

Permalink
Formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquizz committed Feb 25, 2022
1 parent aea9712 commit 3a8eb14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bonfire/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ def validate_time_string(time):
)
seconds = hms_to_seconds(time)
if seconds > 1209600: # 14 days
raise ValueError(
f"invalid duration '{time}', must be less than 14 days"
)
raise ValueError(f"invalid duration '{time}', must be less than 14 days")
return time


Expand Down

0 comments on commit 3a8eb14

Please sign in to comment.