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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user