summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-08-28 20:58:22 +0200
committermathieui <mathieui@mathieui.net>2016-08-28 20:58:22 +0200
commit29b95f18202043c6f0b801323a6b428c80fcba44 (patch)
treebe24440d0ca97e55f9920dfb10d59d75c04afeb8
parenta9fa0ee377c29c0e180fbae40b3f689233d11e3f (diff)
downloadpoezio-29b95f18202043c6f0b801323a6b428c80fcba44.tar.gz
poezio-29b95f18202043c6f0b801323a6b428c80fcba44.tar.bz2
poezio-29b95f18202043c6f0b801323a6b428c80fcba44.tar.xz
poezio-29b95f18202043c6f0b801323a6b428c80fcba44.zip
Really fix that traceback
-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 88102bd0..53a0adca 100644
--- a/poezio/windows/data_forms.py
+++ b/poezio/windows/data_forms.py
@@ -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 []