From f95037b93329d5a4953b81ba1b58e4028a6274e8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 28 Aug 2024 17:40:56 -0500 Subject: Fix imports, and minor bugs. --- uploader/base_routes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'uploader/base_routes.py') 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 -- cgit v1.2.3