Commit 02b560da authored by 张彦钊's avatar 张彦钊

add note for test

parent 22e22503
......@@ -198,11 +198,12 @@ def router(device_id):
if __name__ == "__main__":
while True:
start = time.time()
empty,device_id_list = get_active_users()
if empty==1:
time.sleep(60)
else:
print("有数据")
get_active_users()
# empty,device_id_list = get_active_users()
# if empty==1:
# time.sleep(30)
# else:
# old_device_id_list = pd.read_csv(DIRECTORY_PATH + "data_set_device_id.csv")["device_id"].values.tolist()
# for device_id in device_id_list:
# if device_id in old_device_id_list:
......
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