1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 10:07:22 +00:00

don't raise an exception if compressed format is not supported

This commit is contained in:
Bazarr 2020-05-09 23:03:34 +01:00
parent b3550cda20
commit 35830abd9b

View file

@ -400,7 +400,7 @@ class LegendasdivxProvider(Provider):
logger.debug('Identified zip archive')
archive = zipfile.ZipFile(archive_stream)
else:
raise Exception('Unsupported compressed format')
raise ValueError('Unsupported compressed format')
return archive