Commit 544247fd authored by 张彦钊's avatar 张彦钊

fix main function bug

parent d96da3e4
...@@ -100,7 +100,7 @@ if __name__ == "__main__": ...@@ -100,7 +100,7 @@ if __name__ == "__main__":
if empty: if empty:
time.sleep(10) time.sleep(10)
else: else:
old_device_id_list = pd.read_csv(DIRECTORY_PATH + "data_set_device_id.csv")["device_id"].values().tolist() 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: for device_id in device_id_list:
if device_id in old_device_id_list: if device_id in old_device_id_list:
router(device_id) router(device_id)
......
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