Make linter

This commit is contained in:
Eren Gölge 2022-01-01 15:50:04 +00:00
parent 38f5a11125
commit e55f5ee59e
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class ModelManager(object):
z.extractall(output_folder)
except zipfile.BadZipFile:
print(f" > Error: Bad zip file - {file_url}")
raise zipfile.BadZipFile
raise zipfile.BadZipFile # pylint: disable=raise-missing-from
# move the files to the outer path
for file_path in z.namelist()[1:]:
src_path = os.path.join(output_folder, file_path)