never vibe coding ts again
This commit is contained in:
parent
ce672b6bd3
commit
b293f43be9
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def index():
|
||||||
|
|
||||||
@app.route('/fortune')
|
@app.route('/fortune')
|
||||||
def fortune():
|
def fortune():
|
||||||
fortune = os.run('/usr/bin/fortune')
|
fortune = os.popen("fortune").read()
|
||||||
return render_template('fortune.j2', fortune=fortune)
|
return render_template('fortune.j2', fortune=fortune)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Add table
Reference in a new issue