Commit e1f21fe3 authored by 赵威's avatar 赵威

add printer

parent b93421ed
......@@ -151,8 +151,8 @@ def get_device_click_answer_ids_dict(click_df):
for i in cols:
card_id = i["card_id"]
session_id = i["app_session_id"]
print("card_id: {} {}".format(int(card_id), int(card_id) in online_ids))
if (card_id not in res[session_id]) and (int(card_id) in online_ids):
# print("card_id: {} {}".format(int(card_id), int(card_id) in online_ids))
if (int(card_id) in online_ids) and (card_id not in res[session_id]):
res[session_id].append(card_id)
return res
......
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