mirror of https://github.com/morpheus65535/bazarr
Merge pull request #976 from redglory/development
don't raise an exception if compressed format is not supported
This commit is contained in:
commit
02a47acf4d
|
@ -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…
Reference in New Issue