diff src/plugins/plugin_misc_groupblog.py @ 1281:1c90a913fbb9

plugin groupblog: fixes bad errback value
author souliane <souliane@mailoo.org>
date Fri, 09 Jan 2015 10:44:37 +0100
parents bb30bf3ae932
children 8aa4dab01206
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):