Commit 603a0d28 authored by lixiaofang's avatar lixiaofang

add

parent adc1d711
...@@ -46,12 +46,14 @@ if __name__ == "__main__": ...@@ -46,12 +46,14 @@ if __name__ == "__main__":
numtime1, numtime2 = time_conv(5, 0) numtime1, numtime2 = time_conv(5, 0)
user_id = get_data(numtime1, numtime2) user_id = get_data(numtime1, numtime2)
redis_key1 = "cybertron:set_reply_id:one" redis_key1 = "cybertron:set_reply_id:one"
# redis_key2 = "cybertron:set_reply_id:one2"
reply_data_comment = [] reply_data_comment = []
if user_id: if user_id:
for i in user_id: for i in user_id:
cook = login() cook = login()
comment1, comment2 = get_answer_data() comment1, comment2 = get_answer_data()
logging.info("get comment1:%s" % comment1)
logging.info("get comment2:%s" % comment2)
if cook is not None: if cook is not None:
response = reply_answer(cook, i[1], comment1) response = reply_answer(cook, i[1], comment1)
if len(response) > 1: if len(response) > 1:
......
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