Skip to content

Commit

Permalink
Handle --repeat-delay-hours not being passed on commmandline. (#78)
Browse files Browse the repository at this point in the history
* Handle --repeat-delay-hours not being passed on commmandline.
  • Loading branch information
michaelkaye committed May 4, 2023
1 parent caf85a6 commit c0c2a07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/78.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cleanup.py: Handle --repeat-delay-hours not being passed correctly.
2 changes: 1 addition & 1 deletion scripts/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def main():

args = parser.parse_args()

if args.repeat_delay_hours is defined:
if args.repeat_delay_hours is not None:
while True:
execute(args)
print("I =====================================================")
Expand Down

0 comments on commit c0c2a07

Please sign in to comment.