summaryrefslogtreecommitdiff
path: root/src/core/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-06 20:17:01 +0200
committermathieui <mathieui@mathieui.net>2014-04-06 20:18:31 +0200
commit53040305ce97bd532bd27cf0c2f626136f34a572 (patch)
treedf98cc4216854fbd0750e912c92b3d0269cbb2c8 /src/core/core.py
parente216fd2112c796bd625730f711861b7361f6fe9f (diff)
downloadpoezio-53040305ce97bd532bd27cf0c2f626136f34a572.tar.gz
poezio-53040305ce97bd532bd27cf0c2f626136f34a572.tar.bz2
poezio-53040305ce97bd532bd27cf0c2f626136f34a572.tar.xz
poezio-53040305ce97bd532bd27cf0c2f626136f34a572.zip
fix a wrong naming in the previous commit
Diffstat (limited to 'src/core/core.py')
-rw-r--r--src/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 079a8515..c1813a7e 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -429,7 +429,7 @@ class Core(object):
res = []
current = []
for char in char_list:
- assert len(char) > 0
+ assert char
# Transform that stupid char into what we actually meant
if char == '\x1f':
char = '^/'