Skip to content

Commit

Permalink
Minor fix on PA init
Browse files Browse the repository at this point in the history
  • Loading branch information
minimalparts committed Jul 10, 2024
1 parent f8eaa3d commit 16b5dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/__init_for_pythonanywhere__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")):
Expand Down

0 comments on commit 16b5dda

Please sign in to comment.