changeset 1888:7b9cdde29d8b

jp (blog/edit): added a confirmation message when blog item has been successfuly published
author Goffi <goffi@goffi.org>
date Sat, 05 Mar 2016 20:19:40 +0100
parents 16527dd5a81b
children be61c5c5e474
files frontends/src/jp/cmd_blog.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)