Commit aac4ef4b authored by 张彦钊's avatar 张彦钊

add

parent 84555e16
...@@ -99,7 +99,7 @@ def topic_key(): ...@@ -99,7 +99,7 @@ def topic_key():
break break
cursor = new_cursor cursor = new_cursor
def serach(): def search():
r = redis.StrictRedis.from_url('redis://:ReDis!GmTx*0aN6@172.16.40.133:6379') r = redis.StrictRedis.from_url('redis://:ReDis!GmTx*0aN6@172.16.40.133:6379')
cursor = 0 cursor = 0
while True: while True:
...@@ -119,7 +119,7 @@ def serach(): ...@@ -119,7 +119,7 @@ def serach():
cursor = new_cursor cursor = new_cursor
if __name__ == "__main__": if __name__ == "__main__":
topic_key() search()
......
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