From f1ee6b7fd2d69d13ab37cf26a1de3753495857d9 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 21 Sep 2019 18:27:48 -0400 Subject: nfsw/io.py: query: Add 'prepcess' decorator. --- nfsw/io.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nfsw/io.py b/nfsw/io.py index 3529bd0..7c65e77 100644 --- a/nfsw/io.py +++ b/nfsw/io.py @@ -25,6 +25,7 @@ def io(): @bp.route('/io/query', methods=['POST']) @login_required_ajax +@preprocess def query(): cmd = request.get_data(as_text=True) -- cgit v1.2.3