revert unnecessary changes

master
Simon Pirkelmann 2020-11-23 20:47:28 +01:00
parent 251469ead4
commit 668c3e013f
1 changed files with 1 additions and 5 deletions

View File

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