diff --git a/app/__init_for_pythonanywhere__.py b/app/__init_for_pythonanywhere__.py index 7b01729..a79979a 100644 --- a/app/__init_for_pythonanywhere__.py +++ b/app/__init_for_pythonanywhere__.py @@ -160,6 +160,7 @@ def setup_logger(name, log_file, level=logging.INFO): # Jinja global variables ######################## +dir_path = DEFAULT_PATH app.config['OWN_BRAND'] = True if getenv('OWN_BRAND', "false").lower() == 'true' else False logo_path = getenv('LOGO_PATH', '') if logo_path != '' and path.isfile(join(logo_path, "logo.png")):