Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadus committed Nov 6, 2023
1 parent e7cb10f commit db7a291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evap/results/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def __init__(self, question, answer_counters, additional_text_result=None):
self.additional_text_result = additional_text_result

if answer_counters is not None:
counts = OrderedDict((value, [0, name, color, value]) for (name, color, value) in self.choices.as_name_color_value_tuples())
counts = OrderedDict(
(value, [0, name, color, value]) for (name, color, value) in self.choices.as_name_color_value_tuples()
)
counts.pop(NO_ANSWER)
for answer_counter in answer_counters:
counts[answer_counter.answer][0] = answer_counter.count
Expand Down

0 comments on commit db7a291

Please sign in to comment.