Commit 62f4fc55 authored by lixiaofang's avatar lixiaofang

add

parent e0bb78ea
...@@ -13,6 +13,7 @@ if __name__ == "__main__": ...@@ -13,6 +13,7 @@ if __name__ == "__main__":
redis_client = set_reply_to_redis() redis_client = set_reply_to_redis()
logging.info("get now -----munite:%s" % now) logging.info("get now -----munite:%s" % now)
have_reply1 = redis_client.hget(redis_key1, now - 5) have_reply1 = redis_client.hget(redis_key1, now - 5)
logging.info("get now -----have_reply1:%s" % have_reply1)
result = json.loads(str(have_reply1, encoding="utf-8")) result = json.loads(str(have_reply1, encoding="utf-8"))
if result: if result:
for item in result: for item in result:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment