Commit 7e010a93 authored by litaolemo's avatar litaolemo

update

parent 4865423d
...@@ -81,6 +81,7 @@ for res in user_portrait_scan: ...@@ -81,6 +81,7 @@ for res in user_portrait_scan:
total_answer_content_num += total_answer_content total_answer_content_num += total_answer_content
total_tractate_content_num += total_tractate_content total_tractate_content_num += total_tractate_content
total_diary_content_num += total_diary_content total_diary_content_num += total_diary_content
print(total_answer_content_num, total_tractate_content_num, total_diary_content_num)
tmp_count_num = 0 tmp_count_num = 0
for count_num in bulk_dict: for count_num in bulk_dict:
if tmp_count_num > total_answer_content_num: if tmp_count_num > total_answer_content_num:
...@@ -97,6 +98,7 @@ for res in user_portrait_scan: ...@@ -97,6 +98,7 @@ for res in user_portrait_scan:
pass pass
elif count_num <= total_diary_content_num: elif count_num <= total_diary_content_num:
bulk_dict[tmp_count_num][2] += 1 bulk_dict[tmp_count_num][2] += 1
tmp_count_num = count_num
print(bulk_dict) print(bulk_dict)
# for active_type in res_dict: # for active_type in res_dict:
# for device_os_type in res_dict[active_type]: # for device_os_type in res_dict[active_type]:
......
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