Fix lookup

This commit is contained in:
Thomas Sileo 2019-08-18 12:19:41 +02:00
parent 40199e5be8
commit a204329628

View file

@ -191,7 +191,7 @@ def admin_lookup() -> _Response:
print(data) print(data)
app.logger.debug(data.to_dict()) app.logger.debug(data.to_dict())
return render_template( return render_template(
"lookup.html", data=data, meta=meta, url=request.form.get("url") "lookup.html", data=data, meta=meta, url=request.args.get("url")
) )