mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-28 10:38:26 +00:00
don't raise an exception if compressed format is not supported
This commit is contained in:
parent
b3550cda20
commit
35830abd9b
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ class LegendasdivxProvider(Provider):
|
||||||
logger.debug('Identified zip archive')
|
logger.debug('Identified zip archive')
|
||||||
archive = zipfile.ZipFile(archive_stream)
|
archive = zipfile.ZipFile(archive_stream)
|
||||||
else:
|
else:
|
||||||
raise Exception('Unsupported compressed format')
|
raise ValueError('Unsupported compressed format')
|
||||||
|
|
||||||
return archive
|
return archive
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue