# HG changeset patch # User Goffi # Date 1457205580 -3600 # Node ID 7b9cdde29d8ba69fca26d554d0018aa554140785 # Parent 16527dd5a81ba835f9da0e91ee45489967c929f5 jp (blog/edit): added a confirmation message when blog item has been successfuly published diff -r 16527dd5a81b -r 7b9cdde29d8b frontends/src/jp/cmd_blog.py --- a/frontends/src/jp/cmd_blog.py Sat Mar 05 20:19:17 2016 +0100 +++ b/frontends/src/jp/cmd_blog.py Sat Mar 05 20:19:40 2016 +0100 @@ -282,6 +282,8 @@ self.disp(u"Error while sending your blog, the temporary files have been kept at {content_path} and {meta_path}: {reason}".format( content_path=content_file_path, meta_path=meta_file_path, reason=e), error=True) self.host.quit(1) + else: + self.disp(u"Blog item published") os.unlink(content_file_path) os.unlink(meta_file_path)