diff options
Diffstat (limited to 'libpathod/app.py')
| -rw-r--r-- | libpathod/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/app.py b/libpathod/app.py index ebcf0369..29b56711 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -117,9 +117,9 @@ def _preview(is_request): args["pauses"] = r.preview_safe() if is_request: - r.serve(s, check=app.config["pathod"].check_size, host="example.com") + r.serve(s, check=app.config["pathod"].check_policy, host="example.com") else: - r.serve(s, check=app.config["pathod"].check_size) + r.serve(s, check=app.config["pathod"].check_policy) args["output"] = utils.escape_unprintables(s.getvalue()) return render(template, **args) |
