jp (blog/edit): added a confirmation message when blog item has been successfuly published
This commit is contained in:
parent
f74fd5552a
commit
cf588d3e74
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue