Added more information about dependencies
This commit is contained in:
parent
4be55285d8
commit
9356148e2d
|
@ -41,6 +41,8 @@ try:
|
|||
except ImportError:
|
||||
unidecode_version = _(u'not installed')
|
||||
|
||||
from . import services
|
||||
|
||||
about = flask.Blueprint('about', __name__)
|
||||
|
||||
|
||||
|
@ -59,7 +61,9 @@ _VERSIONS = OrderedDict(
|
|||
SQLite=sqlite3.sqlite_version,
|
||||
iso639=isoLanguages.__version__,
|
||||
pytz=pytz.__version__,
|
||||
Unidecode = unidecode_version
|
||||
Unidecode = unidecode_version,
|
||||
Flask_SimpleLDAP = _(u'installed') if bool(services.ldap) else _(u'not installed'),
|
||||
Goodreads = _(u'installed') if bool(services.goodreads) else _(u'not installed'),
|
||||
)
|
||||
_VERSIONS.update(uploader.get_versions())
|
||||
|
||||
|
|
|
@ -224,11 +224,16 @@ def get_versions():
|
|||
PILVersion = 'v' + PILversion
|
||||
else:
|
||||
PILVersion = _(u'not installed')
|
||||
if comic.use_comic_meta:
|
||||
ComicVersion = _(u'installed')
|
||||
else:
|
||||
ComicVersion = _(u'not installed')
|
||||
return {'Image Magick': IVersion,
|
||||
'PyPdf': PVersion,
|
||||
'lxml':XVersion,
|
||||
'Wand': WVersion,
|
||||
'Pillow': PILVersion}
|
||||
'Pillow': PILVersion,
|
||||
'Comic_API': ComicVersion}
|
||||
|
||||
|
||||
def upload(uploadfile):
|
||||
|
|
Loading…
Reference in New Issue
Block a user