Fix some code inspection complaints

This commit is contained in:
Dave Page
2017-03-25 18:49:25 -04:00
parent a6fa35789c
commit 6152d73f13
10 changed files with 42 additions and 51 deletions

View File

@@ -59,9 +59,7 @@ blueprint = AboutModule(MODULE_NAME, __name__,
@login_required
def index():
"""Render the about box."""
info = {}
info['python_version'] = sys.version
info['flask_version'] = __version__
info = {'python_version': sys.version, 'flask_version': __version__}
if config.SERVER_MODE is True:
info['app_mode'] = gettext('Server')
else: