Edit flask run settings, auto_reload and debug
This commit is contained in:
parent
e49ca04079
commit
01ebbacb01
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user