1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-18 09:07:40 +00:00

Renabled cbrimage extraction (via unrar and rarfile)

This commit is contained in:
Ozzieisaacs
2020-04-28 16:50:08 +02:00
parent 0297823bda
commit bea7223a0a
7 changed files with 58 additions and 36 deletions

View File

@@ -583,7 +583,7 @@ def check_unrar(unrarLocation):
return
if not os.path.exists(unrarLocation):
return 'Unrar binary file not found'
return _('Unrar binary file not found')
try:
if sys.version_info < (3, 0):
@@ -596,7 +596,7 @@ def check_unrar(unrarLocation):
log.debug("unrar version %s", version)
except OSError as err:
log.exception(err)
return 'Error excecuting UnRar'
return _('Error excecuting UnRar')