Commit 6a0346a1 authored by louiz’'s avatar louiz’

Fix a little issue on the default values of text-multi

parent cc0449f7
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment