# HG changeset patch # User Goffi # Date 1566803698 -7200 # Node ID d314d4181f300106fc92d34a5be84fd921c1d357 # Parent 3338c6a634f5478b9ebfbc52619a5a5dae9da45d jp (common): fixed draft path use in BaseEdit diff -r 3338c6a634f5 -r d314d4181f30 sat_frontends/jp/common.py --- a/sat_frontends/jp/common.py Sun Aug 25 12:16:18 2019 +0200 +++ b/sat_frontends/jp/common.py Mon Aug 26 09:14:58 2019 +0200 @@ -426,7 +426,7 @@ 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)