Skip to content

Commit

Permalink
remove unneeded changes 4
Browse files Browse the repository at this point in the history
  • Loading branch information
KeynesYouDigIt committed Oct 9, 2021
1 parent 2f8d6e1 commit 8b8de98
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyxform/survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,10 +642,7 @@ def _setup_choice_translations(name, choice_value, itext_id):
# function
parent = element.get("parent")
if parent and not parent.get("choice_filter"):
translations_for_element = element.get_translations(
self.default_language
)
for d in translations_for_element:
for d in element.get_translations(self.default_language):
translation_path = d["path"]
form = "long"

Expand Down

0 comments on commit 8b8de98

Please sign in to comment.