diff --git a/loaih/script.py b/loaih/script.py index 9f012aa..3a64922 100644 --- a/loaih/script.py +++ b/loaih/script.py @@ -102,7 +102,7 @@ def batch(yamlfile, verbose): # folder before first run (to make sure the contents are effectively # fresh). if generic.branch in {'prerelease', 'daily'}: - generic.cleanup_downloads(gvars.download_path, verbose) + generic.cleanup_downloads(gvars['download_path'], verbose) for obj in collection: # Configuration phase