removed index

master
Simon Pirkelmann 2020-11-23 20:49:19 +01:00
parent 668c3e013f
commit 0ce64d027e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ app = Flask(__name__)
def index(): def index():
coin = random.random() coin = random.random()
if coin >= 0.5: if coin >= 0.5:
return render_template('index.html') return "Lucky you!"
else: else:
raise Exception("Bad luck") raise Exception("Bad luck")