diff src/plugins/plugin_blog_import.py @ 1852:569c48e4cf0d

plugin blog import: mb_data handle unicode only, so comments_service must be a unicode and not a JID
author Goffi <goffi@goffi.org>
date Wed, 24 Feb 2016 16:11:36 +0100
parents 489b968b3723
children 2daf7b4c6756
line wrap: on
line diff
--- a/src/plugins/plugin_blog_import.py	Tue Feb 23 15:02:03 2016 +0100
+++ b/src/plugins/plugin_blog_import.py	Wed Feb 24 16:11:36 2016 +0100
@@ -202,7 +202,7 @@
             allow_comments = C.bool(mb_data.get('allow_comments', C.BOOL_FALSE))
             if allow_comments:
                 comments_service, comments_node = self._m.getCommentsService(client), self._m.getCommentsNode(item_id)
-                mb_data['comments_service'] = comments_service
+                mb_data['comments_service'] = comments_service.full()
                 mb_data['comments_node'] = comments_node
             else:
                 if data['comments'][0]: