Really fix that traceback

This commit is contained in:
mathieui 2016-08-28 20:58:22 +02:00
parent a9fa0ee377
commit 29b95f1820

View file

@ -125,7 +125,7 @@ class TextMultiWin(FieldInput, Win):
FieldInput.__init__(self, field)
Win.__init__(self)
options = field.get_value()
if isinstance(self.options, list):
if isinstance(options, list):
self.options = options
else:
self.options = options.split('\n') if options else []