removed index
This commit is contained in:
parent
668c3e013f
commit
0ce64d027e
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user