/show landing page; default result selection
This commit is contained in:
@@ -11,6 +11,9 @@ DEBUG = 0
|
||||
"""
|
||||
To-do:
|
||||
Styles
|
||||
Bible Reading Plan
|
||||
Bible Viewer
|
||||
fix Multiple Reference resolving /show
|
||||
"""
|
||||
|
||||
def dbg(message):
|
||||
@@ -189,7 +192,9 @@ def return_dict_rich(ref, defs):
|
||||
|
||||
@app.get("/show")
|
||||
def show():
|
||||
ref = request.args.get("kw", "John 3:16")
|
||||
ref = request.args.get("kw", None)
|
||||
if ref is None:
|
||||
return send_file("html/show.html")
|
||||
dbg("show({})".format(ref))
|
||||
ref = ref_input_cleaning(ref)
|
||||
if not ref:
|
||||
|
||||
Reference in New Issue
Block a user