diff options
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/base_routes.py | 6 | ||||
-rw-r--r-- | uploader/expression_data/index.py | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/uploader/base_routes.py b/uploader/base_routes.py index 39db31f..88247b2 100644 --- a/uploader/base_routes.py +++ b/uploader/base_routes.py @@ -1,7 +1,11 @@ """Basic routes required for all pages""" import os -from flask import Blueprint, render_template, send_from_directory +from flask import ( + Blueprint, + render_template, + current_app as app, + send_from_directory) from uploader.oauth2.client import user_logged_in diff --git a/uploader/expression_data/index.py b/uploader/expression_data/index.py index a334c51..799989e 100644 --- a/uploader/expression_data/index.py +++ b/uploader/expression_data/index.py @@ -12,8 +12,7 @@ from flask import ( redirect, Blueprint, render_template, - current_app as app, - send_from_directory) + current_app as app) from uploader.db import species from uploader.authorisation import require_login |