v2 html: minor fix
This commit is contained in:
parent
192e633607
commit
acb761be0d
2 changed files with 3 additions and 4 deletions
|
|
@ -544,10 +544,9 @@ def main(query, parsed_query, data):
|
|||
else:
|
||||
data_parsed = data
|
||||
|
||||
parsed_query["text"] = "no"
|
||||
filename = "b_" + parse_query.serialize(parsed_query) + ".png"
|
||||
|
||||
if html_output:
|
||||
parsed_query["text"] = "no"
|
||||
filename = "b_" + parse_query.serialize(parsed_query) + ".png"
|
||||
output = """
|
||||
<html>
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ def parse_request(location, request, query, fast_mode=False):
|
|||
Return: dictionary with parsed parameters
|
||||
"""
|
||||
|
||||
if location.startswith("b_"):
|
||||
if location and location.startswith("b_"):
|
||||
result = parse_query.deserialize(location)
|
||||
result["request_url"] = request.url
|
||||
if result:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue