From a79da91e5a1e71a14cef7bc1259d11c542f59fcf Mon Sep 17 00:00:00 2001 From: Muhammad Khatri Date: Sat, 8 Aug 2020 01:13:13 -0500 Subject: [PATCH] fix: apply cache and debug settigns to correct instance of application --- runserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runserver.py b/runserver.py index 3fbfe48..eaa4448 100644 --- a/runserver.py +++ b/runserver.py @@ -10,10 +10,10 @@ extra_files = [] if os.environ.get('DEBUG', False): - app.debug = True + socketio.debug = True extra_files.append('./config.yaml') - app.jinja_env.cache = {} + socketio.jinja_env.cache = {} socketio.run( host='0.0.0.0',