Commit 1656a5d8 authored by litaolemo's avatar litaolemo

update

parent 7e010a93
...@@ -86,17 +86,17 @@ for res in user_portrait_scan: ...@@ -86,17 +86,17 @@ for res in user_portrait_scan:
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:
pass pass
elif count_num <= total_answer_content_num: elif tmp_count_num <= count_num < total_answer_content_num:
bulk_dict[tmp_count_num][0] += 1 bulk_dict[tmp_count_num][0] += 1
if tmp_count_num > total_tractate_content_num: if tmp_count_num > total_tractate_content_num:
pass pass
elif count_num <= total_tractate_content_num: elif tmp_count_num <= count_num <= total_tractate_content_num:
bulk_dict[tmp_count_num][1] += 1 bulk_dict[tmp_count_num][1] += 1
if tmp_count_num > total_diary_content_num: if tmp_count_num > total_diary_content_num:
pass pass
elif count_num <= total_diary_content_num: elif tmp_count_num <= 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 tmp_count_num = count_num
print(bulk_dict) print(bulk_dict)
......
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