revert unnecessary changes

This commit is contained in:
Simon Pirkelmann 2020-11-23 20:47:28 +01:00
parent 251469ead4
commit 668c3e013f

View File

@ -1,11 +1,7 @@
from flask import Flask, render_template
from flask_debugtoolbar import DebugToolbarExtension
import random
app = Flask(__name__)
app.config['SECRET_KEY'] = '<replace with a secret key>'
app.debug = True
toolbar = DebugToolbarExtension(app)
@app.route('/')
def index():
@ -16,4 +12,4 @@ def index():
raise Exception("Bad luck")
if __name__ == '__main__':
app.run(debug=True)
app.run(debug=False)