jp (common): fixed draft path use in BaseEdit
This commit is contained in:
parent
2b062e9cde
commit
b8e9212b8d
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ class BaseEdit(object):
|
|||
content_file_obj.seek(0, os.SEEK_END)
|
||||
elif self.args.draft_path:
|
||||
# there is an existing draft that we use
|
||||
content_file_path = os.path.expanduser(self.args.item)
|
||||
content_file_path = os.path.expanduser(self.args.draft_path)
|
||||
content_file_obj = open(content_file_path, "r+b")
|
||||
# we seek at the end for the same reason as above
|
||||
content_file_obj.seek(0, os.SEEK_END)
|
||||
|
|
|
|||
Loading…
Reference in a new issue