aboutsummaryrefslogtreecommitdiff
path: root/uploader/base_routes.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-28 17:40:56 -0500
committerFrederick Muriuki Muriithi2024-08-28 18:00:05 -0500
commitf95037b93329d5a4953b81ba1b58e4028a6274e8 (patch)
tree756659066daf92fd3e119864f6fca9ca7677d36d /uploader/base_routes.py
parent06c6a7f7f42e8ff2d33a934ff695efde24d26d65 (diff)
downloadgn-uploader-f95037b93329d5a4953b81ba1b58e4028a6274e8.tar.gz
Fix imports, and minor bugs.
Diffstat (limited to 'uploader/base_routes.py')
-rw-r--r--uploader/base_routes.py6
1 files changed, 5 insertions, 1 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