correct display of custom athenanas naming
This commit is contained in:
parent
620111c9d5
commit
d6310a2c78
1 changed files with 2 additions and 2 deletions
4
parse.py
4
parse.py
|
@ -143,8 +143,8 @@ def wiki_stats(items: Dict[int, str], count_items: Dict[int, int], questions: Di
|
||||||
for variant, count in quest_answers[ATHENE_ID].items():
|
for variant, count in quest_answers[ATHENE_ID].items():
|
||||||
if "Sonstiges" not in variant[1]:
|
if "Sonstiges" not in variant[1]:
|
||||||
ret += f"|| {prefix(variant[0])} {variant[1]} || {count}\n|-\n"
|
ret += f"|| {prefix(variant[0])} {variant[1]} || {count}\n|-\n"
|
||||||
else:
|
elif variant[0] == HUMAN_ID: # do not distinguish between human and mascor answers here
|
||||||
ret += f"|| {prefix(variant[0])} {variant[1]} || "
|
ret += f"|| {variant[1]} || "
|
||||||
for custom in quest_answers[ATHENE_CUSTOM_ID]:
|
for custom in quest_answers[ATHENE_CUSTOM_ID]:
|
||||||
ret += f"{custom[1]}<br/>\n"
|
ret += f"{custom[1]}<br/>\n"
|
||||||
ret = ret[:-6]
|
ret = ret[:-6]
|
||||||
|
|
Loading…
Reference in a new issue