summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/windows/data_forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows/data_forms.py b/src/windows/data_forms.py
index 0978f5e3..410648ec 100644
--- a/src/windows/data_forms.py
+++ b/src/windows/data_forms.py
@@ -124,7 +124,8 @@ class TextMultiWin(FieldInput, Win):
FieldInput.__init__(self, field)
Win.__init__(self)
self.options = field.getValue()
- self.options = self.options.split('\n') if self.options else []
+ if not isinstance(self.options, list):
+ self.options = self.options.split('\n') if self.options else []
self.val_pos = 0
self.edition_input = None
if not isinstance(self.options, list):