renamed some stuff so they wont shadow built-in functions

This commit is contained in:
Kjistóf 2017-10-30 15:03:32 +01:00
parent 2d9cc21dda
commit 8139b88afe
1 changed files with 3 additions and 3 deletions

View File

@ -190,12 +190,12 @@ def run(URL, output, extension):
remove(FILES[File.OUTPUT])
# create temporary directory to work in
with temporary_directory() as dir:
with temporary_directory() as tempdir:
# update temporary file locations in FILES dict
for key in {key: FILES[key] for key in FILES if key not in coub_dl.output_files}:
FILES[key] = join(dir, FILES[key])
FILES[key] = join(tempdir, FILES[key])
coub_dl(URL, FILES, dir)()
coub_dl(URL, FILES, tempdir)()
def determine_output_filename(url, user_supplied, extension, files_dict):