From a363d30b375e2d30693443ef338894c5c6ed206c Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 23 Apr 2021 17:43:33 +0700 Subject: [PATCH] clean exit when no trailers to download --- src/trailers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trailers.py b/src/trailers.py index 89c377c..5bb9b11 100644 --- a/src/trailers.py +++ b/src/trailers.py @@ -177,6 +177,7 @@ def main(config): downloaded = dl_pending(pending, config) else: print('no missing trailers found') + return # move to archive if downloaded: new_trailers = archive(config)