1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-13 14:47:40 +00:00

Add unrar Support

This commit is contained in:
Ozzieisaacs
2020-04-28 20:23:39 +02:00
parent 46c0ae3ccc
commit 27eb09fb19
4 changed files with 35 additions and 12 deletions

View File

@@ -602,7 +602,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):
@@ -615,7 +615,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')
def json_serial(obj):