summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nfsw/io.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfsw/io.py b/nfsw/io.py
index 49028b8..c789b69 100644
--- a/nfsw/io.py
+++ b/nfsw/io.py
@@ -61,10 +61,11 @@ def reset():
@login_required_ajax
@preprocess
def query():
+ r = redisc()
q = request.get_data(as_text=True)
# Log query.
- r().rpush(k('log'), q)
+ r.rpush('log', q)
# Get current scene.
scene = current_scene()