summaryrefslogtreecommitdiff
path: root/poezio/windows/data_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-08-28 20:44:19 +0200
committermathieui <mathieui@mathieui.net>2016-08-28 20:44:19 +0200
commita9fa0ee377c29c0e180fbae40b3f689233d11e3f (patch)
treea3e948a8611c8105c4336d393eafaf7a932e5966 /poezio/windows/data_forms.py
parent2252f2779c3568923d677491ee7df394abeadb6d (diff)
downloadpoezio-a9fa0ee377c29c0e180fbae40b3f689233d11e3f.tar.gz
poezio-a9fa0ee377c29c0e180fbae40b3f689233d11e3f.tar.bz2
poezio-a9fa0ee377c29c0e180fbae40b3f689233d11e3f.tar.xz
poezio-a9fa0ee377c29c0e180fbae40b3f689233d11e3f.zip
Fix a traceback introduced in the last commit
Diffstat (limited to 'poezio/windows/data_forms.py')
-rw-r--r--poezio/windows/data_forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py
index 4d9eda93..88102bd0 100644
--- a/poezio/windows/data_forms.py
+++ b/poezio/windows/data_forms.py
@@ -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):