From 626ecf55e135920be1ef3e659b6e126cc7b8e723 Mon Sep 17 00:00:00 2001 From: Scobiform Date: Wed, 17 Apr 2024 15:53:56 +0200 Subject: [PATCH] fix: None type --- start.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/start.py b/start.py index d3b32ad..2ac2c99 100644 --- a/start.py +++ b/start.py @@ -15,24 +15,6 @@ app = Quart(__name__) config = None -# Html header jinja2 template -html_header = ''' - - - - '''+config['app_name']+''' - - - - -''' - -# Html footer jinja2 template -html_footer = ''' - - -''' - # Async setup function to load configs and create secrets @app.before_serving async def setup_app(): @@ -58,6 +40,24 @@ async def setup_app(): level=getattr(logging, logging_config['level']) ) +# Html header jinja2 template +html_header = ''' + + + + '''+config['app_name']+''' + + + + +''' + +# Html footer jinja2 template +html_footer = ''' + + +''' + @app.route('/') async def home(): header = html_header