mirror of https://github.com/coqui-ai/TTS.git
Make linter
This commit is contained in:
parent
38f5a11125
commit
e55f5ee59e
|
@ -202,7 +202,7 @@ class ModelManager(object):
|
||||||
z.extractall(output_folder)
|
z.extractall(output_folder)
|
||||||
except zipfile.BadZipFile:
|
except zipfile.BadZipFile:
|
||||||
print(f" > Error: Bad zip file - {file_url}")
|
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
|
# move the files to the outer path
|
||||||
for file_path in z.namelist()[1:]:
|
for file_path in z.namelist()[1:]:
|
||||||
src_path = os.path.join(output_folder, file_path)
|
src_path = os.path.join(output_folder, file_path)
|
||||||
|
|
Loading…
Reference in New Issue