jp (blog/edit): added a confirmation message when blog item has been successfuly published

This commit is contained in:
Goffi 2016-03-05 20:19:40 +01:00
commit cf588d3e74

View file

@ -282,6 +282,8 @@ class Edit(base.CommandBase, BlogCommon):
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)