Fix a traceback introduced in the last commit

This commit is contained in:
mathieui 2016-08-28 20:44:19 +02:00
parent 2252f2779c
commit a9fa0ee377

View file

@ -128,7 +128,7 @@ class TextMultiWin(FieldInput, Win):
if isinstance(self.options, list):
self.options = options
else:
self.options = self.options.split('\n') if self.options else []
self.options = options.split('\n') if options else []
self.val_pos = 0
self.edition_input = None
if not isinstance(self.options, list):