diff --git a/changelog.d/78.bugfix b/changelog.d/78.bugfix new file mode 100644 index 0000000..2e7a3f0 --- /dev/null +++ b/changelog.d/78.bugfix @@ -0,0 +1 @@ +cleanup.py: Handle --repeat-delay-hours not being passed correctly. diff --git a/scripts/cleanup.py b/scripts/cleanup.py index e55d18e..2901889 100755 --- a/scripts/cleanup.py +++ b/scripts/cleanup.py @@ -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 =====================================================")