correct display of custom athenanas naming

This commit is contained in:
Johannes 2023-10-16 12:09:46 +02:00
parent 620111c9d5
commit d6310a2c78

View file

@ -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():
if "Sonstiges" not in variant[1]:
ret += f"|| {prefix(variant[0])} {variant[1]} || {count}\n|-\n"
else:
ret += f"|| {prefix(variant[0])} {variant[1]} || "
elif variant[0] == HUMAN_ID: # do not distinguish between human and mascor answers here
ret += f"|| {variant[1]} || "
for custom in quest_answers[ATHENE_CUSTOM_ID]:
ret += f"{custom[1]}<br/>\n"
ret = ret[:-6]