From 92bd13fdcdf8449a55b7e929590c176879d25cce Mon Sep 17 00:00:00 2001 From: moneromooo Date: Tue, 30 Dec 2014 22:48:44 +0000 Subject: [PATCH] Add hexists to redisdb --- tipbot/redisdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tipbot/redisdb.py b/tipbot/redisdb.py index f61e950..ba6fd75 100644 --- a/tipbot/redisdb.py +++ b/tipbot/redisdb.py @@ -34,6 +34,9 @@ def redis_get(k): def redis_set(k,v): return redisdb.set(k,v) +def redis_hexists(t,k): + return redisdb.hexists(t,k) + def redis_hget(t,k): return redisdb.hget(t,k)