summaryrefslogtreecommitdiffstats
path: root/nfsw/redis.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-09-30 19:01:10 -0400
committerrsiddharth <s@ricketyspace.net>2019-09-30 19:01:10 -0400
commit8e4f423980accd18c2697bbf6c32806dd66ef0c7 (patch)
tree29fc8f6fc817a813923d2270b7bcd4df2705d377 /nfsw/redis.py
parent8cd894543d21ea8fa488dd3540f046fed752de66 (diff)
nfsw/redis.py: Remove key.
Diffstat (limited to 'nfsw/redis.py')
-rw-r--r--nfsw/redis.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/nfsw/redis.py b/nfsw/redis.py
index c91fb42..546ecc6 100644
--- a/nfsw/redis.py
+++ b/nfsw/redis.py
@@ -19,12 +19,6 @@ def keys():
]
-def key(prefix):
- if 'user_id' in session:
- return '{}:{}'.format(prefix, session['user_id'])
- else:
- return prefix
-
def redisc():
if 'redisc' in g: