Merge remote-tracking branch 'github_3/hotfix/epub-import'

Improved cover extraction from epub files
This commit is contained in:
Ozzieisaacs
2019-10-20 15:48:06 +02:00
7 changed files with 45 additions and 41 deletions

View File

@@ -19,6 +19,7 @@
from __future__ import division, print_function, unicode_literals
import os
import re
from flask_babel import gettext as _
from . import config, logger
from .subproc_wrapper import process_wait
@@ -26,7 +27,8 @@ from .subproc_wrapper import process_wait
log = logger.create()
_NOT_CONFIGURED = 'not configured'
# _() necessary to make babel aware of string for translation
_NOT_CONFIGURED = _('not configured')
_NOT_INSTALLED = 'not installed'
_EXECUTION_ERROR = 'Execution permissions missing'