Commit 0ac068f4 authored by litaolemo's avatar litaolemo

update

parent 257225c5
......@@ -63,8 +63,9 @@ for res in user_portrait_scan:
print(count_res)
for article_type in count_res:
for tag in count_res[article_type]:
print(tag.items)
total_answer_content, total_tractate_content, total_diary_content, sum_num = \
tag.values()
tag.items()
total_answer_content_num += total_answer_content
total_tractate_content_num += total_tractate_content
total_diary_content_num += total_diary_content
......@@ -75,7 +76,7 @@ for res in user_portrait_scan:
for article_type in count_res:
for tag in count_res[article_type]:
total_answer_content, total_tractate_content, total_diary_content, sum_num = \
tag.values()
tag.items()
total_answer_content_num += total_answer_content
total_tractate_content_num += total_tractate_content
total_diary_content_num += total_diary_content
......
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