Mercurial > libervia-backend
changeset 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 | ff603003d40a |
children | 1a9c12644552 |
files | src/plugins/plugin_blog_import.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]: