diff frontends/src/jp/cmd_blog.py @ 1904:614f3abb2c69

plugin XEP-0060: fixed traceback if service was None
author Goffi <goffi@goffi.org>
date Thu, 10 Mar 2016 17:50:17 +0100
parents 116a55865364
children e0bfdd379e8d
line wrap: on
line diff
--- a/frontends/src/jp/cmd_blog.py	Wed Mar 09 16:59:29 2016 +0100
+++ b/frontends/src/jp/cmd_blog.py	Thu Mar 10 17:50:17 2016 +0100
@@ -320,7 +320,7 @@
             try:
                 mb_data = self.host.bridge.mbGet('', '', 1, [], {}, self.profile)[0][0]
             except Exception as e:
-                self.disp(u"Error while retrieving last comment: {}".format(e))
+                self.disp(u"Error while retrieving last item: {}".format(e))
                 self.host.quit(1)
 
             content = mb_data['content_xhtml']