Merge pull request #976 from redglory/development

don't raise an exception if compressed format is not supported
This commit is contained in:
morpheus65535 2020-05-09 18:06:21 -04:00 committed by GitHub
commit 02a47acf4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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