Edit flask run settings, auto_reload and debug

This commit is contained in:
Kenneth Jao 2018-01-20 19:35:27 -05:00
parent e49ca04079
commit 01ebbacb01

View File

@ -4,6 +4,10 @@ from flask import render_template, jsonify, request
import time import time
import random import random
app = Flask(__name__) app = Flask(__name__)
app.config.update(
DEBUG=True,
TEMPLATES_AUTO_RELOAD=True
)
try: try:
with open("save.p", "rb") as f: with open("save.p", "rb") as f: