Commit 44b3a120 authored by lixiaofang's avatar lixiaofang

add

parent ea76a747
...@@ -40,14 +40,12 @@ def get_data(numtime, numtime2): ...@@ -40,14 +40,12 @@ def get_data(numtime, numtime2):
def true_click_one(): def true_click_one():
try: try:
numtime, numtime2 = time_conv(5, 0) numtime, numtime2 = time_conv(5, 0)
user_id = get_data(numtime, numtime2) user_id = get_data(numtime, numtime2)
dicts = {}
for i in user_id: for i in user_id:
cook = login() cook = login()
logging.info("get cook:%s" % cook)
if cook is not None: if cook is not None:
click(cook, i[1]) click(cook, i[1])
except: except:
logging.error("catch exception,main:%s" % traceback.format_exc()) logging.error("catch exception,main:%s" % traceback.format_exc())
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