diff --git a/common.py b/common.py index 0fb8460..1b616f6 100644 --- a/common.py +++ b/common.py @@ -115,6 +115,9 @@ def mergeTemplate(path): objects = await func(*args, **kwargs) + if type(objects) is response.HTTPResponse: + return objects + objects.update({ "strip_unit": strip_unit, "escape_html": escape_html,