removed index
This commit is contained in:
parent
668c3e013f
commit
0ce64d027e
|
@ -7,7 +7,7 @@ app = Flask(__name__)
|
|||
def index():
|
||||
coin = random.random()
|
||||
if coin >= 0.5:
|
||||
return render_template('index.html')
|
||||
return "Lucky you!"
|
||||
else:
|
||||
raise Exception("Bad luck")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user