revert unnecessary changes
This commit is contained in:
parent
251469ead4
commit
668c3e013f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user