Commit 58a03724 authored by litaolemo's avatar litaolemo

update

parent ebd2fa7a
...@@ -283,7 +283,7 @@ for res in sql_res: ...@@ -283,7 +283,7 @@ for res in sql_res:
if cl_id in second_demands_tag_dict: if cl_id in second_demands_tag_dict:
if int(card_id) in second_demands_tractate_dict: if int(card_id) in second_demands_tractate_dict:
# print(cl_id, second_demands_tag_dict[card_id]) # print(cl_id, second_demands_tag_dict[card_id])
for tag_id in second_demands_tractate_dict[card_id]: for tag_id in second_demands_tractate_dict[int(card_id)]:
if tag_id in second_demands_id_count: if tag_id in second_demands_id_count:
second_demands_id_count[tag_id][int(card_id)] = 1 second_demands_id_count[tag_id][int(card_id)] = 1
...@@ -299,7 +299,7 @@ for res in sql_res: ...@@ -299,7 +299,7 @@ for res in sql_res:
if cl_id in projects_demands_tag_dict: if cl_id in projects_demands_tag_dict:
if int(card_id) in tags_v3_tractate_dict: if int(card_id) in tags_v3_tractate_dict:
# print(cl_id,projects_demands_tag_dict[cl_id]) # print(cl_id,projects_demands_tag_dict[cl_id])
for tag_id in tags_v3_tractate_dict[card_id]: for tag_id in tags_v3_tractate_dict[int(card_id)]:
if tag_id in projects_demands_id_count: if tag_id in projects_demands_id_count:
projects_demands_id_count[tag_id][int(card_id)] = 1 projects_demands_id_count[tag_id][int(card_id)] = 1
else: else:
......
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