diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-04 12:08:21 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-04 12:08:21 -0500 |
commit | 49d823e13528536d064d32f7fb84c2f13448db21 (patch) | |
tree | f9274891ae34855a6f23fe750d2e2e1ddda6b93c /youtube/search.py | |
parent | de5510d3e36759fd70e07448c4bff0b301caa97c (diff) | |
download | yt-local-49d823e13528536d064d32f7fb84c2f13448db21.tar.lz yt-local-49d823e13528536d064d32f7fb84c2f13448db21.tar.xz yt-local-49d823e13528536d064d32f7fb84c2f13448db21.zip |
Fix request search when is empty
Diffstat (limited to 'youtube/search.py')
-rw-r--r-- | youtube/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/search.py b/youtube/search.py index f9591fe..33e9251 100644 --- a/youtube/search.py +++ b/youtube/search.py @@ -63,7 +63,7 @@ def get_search_json(query, page, autocorrect, sort, filters): def get_search_page(): query = request.args.get('search_query') or request.args.get('query') if query is None: - return flask.render_template('base.html', title='Search') + return flask.render_template('home.html', title='Search') page = request.args.get("page", "1") autocorrect = int(request.args.get("autocorrect", "1")) |