From 69df5fc49c24ef17d727955b7e2fdf9dba5d6790 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 24 Feb 2016 16:11:36 +0100 Subject: [PATCH] plugin blog import: mb_data handle unicode only, so comments_service must be a unicode and not a JID --- src/plugins/plugin_blog_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_blog_import.py b/src/plugins/plugin_blog_import.py index 375d0c3b..7d5a4d23 100755 --- a/src/plugins/plugin_blog_import.py +++ b/src/plugins/plugin_blog_import.py @@ -202,7 +202,7 @@ class BlogImportPlugin(object): 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]: