summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data_forms.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/data_forms.py b/src/data_forms.py
index ae530551..dad5a456 100644
--- a/src/data_forms.py
+++ b/src/data_forms.py
@@ -158,7 +158,10 @@ class TextMultiWin(FieldInput, windows.Win):
self.val_pos = 0
self.edition_input = None
if not isinstance(self.options, list):
- self.options = [self.options]
+ if isinstance(self.options, str):
+ self.options = [self.options]
+ else:
+ self.options = []
self.options.append('')
def do_command(self, key):