From e1a800a4abcf12de82c246771e45fdd48e93efdb Mon Sep 17 00:00:00 2001 From: Ryszard Knop Date: Wed, 13 Oct 2021 13:43:25 +0200 Subject: [PATCH] Add missing return on get_download_dir --- downloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/downloader.py b/downloader.py index 6657b8b..fa983c8 100755 --- a/downloader.py +++ b/downloader.py @@ -301,6 +301,8 @@ def get_download_dir(args: argparse.Namespace) -> str: download_to = os.path.normpath(args.download_to) os.makedirs(download_to) + return download_to + if __name__ == "__main__": args = get_parser().parse_args()