changeset 1281:1c90a913fbb9

plugin groupblog: fixes bad errback value
author souliane <souliane@mailoo.org>
date Fri, 09 Jan 2015 10:44:37 +0100
parents 806a0fb6045e
children 74d558e6c9fd
files src/plugins/plugin_misc_groupblog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_groupblog.py	Thu Dec 25 12:26:49 2014 +0100
+++ b/src/plugins/plugin_misc_groupblog.py	Fri Jan 09 10:44:37 2015 +0100
@@ -650,7 +650,7 @@
         def cb(items, client):
             return items2feed(items, pub_jid, client)
 
-        d = DeferredItems(self, cb, lambda dummy: '', profile_key).get(self.getNodeName(pub_jid), rsm=rsm)
+        d = DeferredItems(self, cb, lambda dummy: [''], profile_key).get(self.getNodeName(pub_jid), rsm=rsm)
         return d.addCallback(lambda res: res[0])
 
     def getGroupBlogComments(self, service_s, node, rsm=None, profile_key=C.PROF_KEY_NONE):