Commit 29b95f18 authored by mathieui's avatar mathieui

Really fix that traceback

parent a9fa0ee3
...@@ -125,7 +125,7 @@ class TextMultiWin(FieldInput, Win): ...@@ -125,7 +125,7 @@ class TextMultiWin(FieldInput, Win):
FieldInput.__init__(self, field) FieldInput.__init__(self, field)
Win.__init__(self) Win.__init__(self)
options = field.get_value() options = field.get_value()
if isinstance(self.options, list): if isinstance(options, list):
self.options = options self.options = options
else: else:
self.options = options.split('\n') if options else [] self.options = options.split('\n') if options else []
......
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