summaryrefslogtreecommitdiff
path: root/poezio/windows/data_forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows/data_forms.py')
-rw-r--r--poezio/windows/data_forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py
index 4d9eda93..88102bd0 100644
--- a/poezio/windows/data_forms.py
+++ b/poezio/windows/data_forms.py
@@ -128,7 +128,7 @@ class TextMultiWin(FieldInput, Win):
if isinstance(self.options, list):
self.options = options
else:
- self.options = self.options.split('\n') if self.options else []
+ self.options = options.split('\n') if options else []
self.val_pos = 0
self.edition_input = None
if not isinstance(self.options, list):