Skip to content

Commit 0c29f93

Browse files
Improve hello world
1 parent 65c747f commit 0c29f93

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tvseries/core.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55

66
@app.route('/')
7-
def home():
8-
return render_template('home.html')
9-
10-
117
@app.route('/<name>')
12-
def name(name):
8+
def home(name=None):
139
return render_template('home.html', name=name)

0 commit comments

Comments
 (0)