Added platform information for better debugging
This commit is contained in:
parent
c33623efee
commit
b6d7207ec3
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
from __future__ import division, print_function, unicode_literals
|
from __future__ import division, print_function, unicode_literals
|
||||||
import sys
|
import sys
|
||||||
|
import platform
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
@ -48,6 +49,7 @@ about = flask.Blueprint('about', __name__)
|
||||||
|
|
||||||
|
|
||||||
_VERSIONS = OrderedDict(
|
_VERSIONS = OrderedDict(
|
||||||
|
Platform = ' '.join(platform.uname()),
|
||||||
Python=sys.version,
|
Python=sys.version,
|
||||||
WebServer=server.VERSION,
|
WebServer=server.VERSION,
|
||||||
Flask=flask.__version__,
|
Flask=flask.__version__,
|
||||||
|
@ -65,6 +67,7 @@ _VERSIONS = OrderedDict(
|
||||||
Unidecode = unidecode_version,
|
Unidecode = unidecode_version,
|
||||||
Flask_SimpleLDAP = u'installed' if bool(services.ldap) else u'not installed',
|
Flask_SimpleLDAP = u'installed' if bool(services.ldap) else u'not installed',
|
||||||
Goodreads = u'installed' if bool(services.goodreads_support) else u'not installed',
|
Goodreads = u'installed' if bool(services.goodreads_support) else u'not installed',
|
||||||
|
|
||||||
)
|
)
|
||||||
_VERSIONS.update(uploader.get_versions())
|
_VERSIONS.update(uploader.get_versions())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user