Skip to content

Commit

Permalink
Update mtk
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler authored Aug 7, 2021
1 parent 1c2f4d3 commit bebf832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtk
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ class Main(metaclass=LogBase):
print(f"Dumped GPT from to {sfilename}")
sfilename = os.path.join(directory, f"gpt_backup.bin")
with open(sfilename, "wb") as wf:
wf.write(data[mtk.daconfig.pagesize:])
wf.write(data[mtk.daloader.daconfig.pagesize:])
print(f"Dumped Backup GPT to {sfilename}")
mtk.daloader.close()
self.close()
Expand Down

0 comments on commit bebf832

Please sign in to comment.