diff options
author | rsiddharth <s@ricketyspace.net> | 2019-09-30 18:35:57 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-09-30 18:35:57 -0400 |
commit | 82fac85ea9198fe1a1962b1acc175578616a0a31 (patch) | |
tree | c67f3f3df0bfabcf4f282051635bfe6cb4d4850a | |
parent | 88cb6ee41ab4d7817471ddd36425c9606d9be85f (diff) |
nfsw/io.py: Update query.
* nfsw/io.py (query): Use RedisC for Redis calls.
-rw-r--r-- | nfsw/io.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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() |