From 8b50961de936695272fa6b731ab8a5376cee8a02 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 14 Oct 2012 21:37:21 +0200 Subject: Fix a traceback on completion_version --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 87a1ca8b..86365c8e 100644 --- a/src/core.py +++ b/src/core.py @@ -1595,7 +1595,7 @@ class Core(object): n = len(the_input.get_text().split()) if n > 2 or (n == 2 and the_input.get_text().endswith(' ')): return - comp = reduce(lambda x, y: x+y, (jid.resources for jid in roster if len(jid)), []) + comp = reduce(lambda x, y: x + [i for i in y], (jid.resources for jid in roster if len(jid)), []) comp = (str(res.jid) for res in comp) return the_input.auto_completion(sorted(comp), '', quotify=False) -- cgit v1.2.3