Skip to content

Commit

Permalink
fix: apply cache and debug settigns to correct instance of application
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhatri1 committed Aug 8, 2020
1 parent c6f2762 commit a79da91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit a79da91

Please sign in to comment.