Skip to content

Commit

Permalink
added comment to improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
4-dash committed Aug 30, 2024
1 parent 765fb2e commit b5424e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/feedback/views/veranstalter.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ def get_template_names(self):
def done(self, form_list, **kwargs):
cleaned_data = {}
if perform_evalution(self) :
# django-formtools uses get_form_list to get steps, which are added when their method in condition_dict is True
# get_cleaned_basisdaten uses step 'basisdaten', which is not added to steps if perform_evalution is False
cleaned_data = self.get_cleaned_basisdaten()
ergebnis_empfaenger = cleaned_data.get('ergebnis_empfaenger', None)

Expand Down

0 comments on commit b5424e9

Please sign in to comment.