Skip to content

Commit

Permalink
Fixed the redirect URL
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <[email protected]>
  • Loading branch information
toomore committed Jul 24, 2023
1 parent 8a4ecb1 commit dd23c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def talk_one(pid: int, session_id: str) -> str | ResponseBase:
speaker.biography = markdown(speaker.biography)

if not talks:
return redirect(f'/schedule/{pid}')
return redirect('/schedule/2023')

return render_template('schedule_talks.html',
pid=pid,
Expand Down

0 comments on commit dd23c98

Please sign in to comment.