Patch some mistakes (according to flake8)

This commit is contained in:
Valentin Niess
2025-05-20 23:27:20 +02:00
parent 331fc6ab7f
commit 60aec8ba25
13 changed files with 28 additions and 53 deletions

View File

@@ -28,7 +28,7 @@ def urlretrieve(url, filename=None):
'''
if filename is None:
filename = os.path.basename(url)
debug('DOWNLOAD', '%s from %s', name, os.path.dirname(url))
debug('DOWNLOAD', '%s from %s', filename, os.path.dirname(url))
else:
debug('DOWNLOAD', '%s as %s', url, filename)