Add missing return on get_download_dir

This commit is contained in:
Ryszard Knop 2021-10-13 13:43:25 +02:00
parent 9183c01779
commit e1a800a4ab

View File

@ -301,6 +301,8 @@ def get_download_dir(args: argparse.Namespace) -> str:
download_to = os.path.normpath(args.download_to) download_to = os.path.normpath(args.download_to)
os.makedirs(download_to) os.makedirs(download_to)
return download_to
if __name__ == "__main__": if __name__ == "__main__":
args = get_parser().parse_args() args = get_parser().parse_args()