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

pull/976/head
Bazarr 5 years ago
parent b3550cda20
commit 35830abd9b

@ -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

Loading…
Cancel
Save