Skip to content

Commit

Permalink
Minor bugfix on PathConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler authored Jun 26, 2024
1 parent 0d04780 commit e9464f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtkclient/Library/mtk_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def cmd_stage(self, mtk, filename, stage2addr, stage2file, verifystage2):
self.error(f"Error: {stage2file} doesn't exist !")
return False
else:
stage2file = os.path.join(mtk.PathConfig.get_payloads_path(), "stage2.bin")
stage2file = os.path.join(mtk.pathconfig.get_payloads_path(), "stage2.bin")
if mtk.preloader.init():
mtk = mtk.crasher()
if mtk.port.cdc.pid == 0x0003:
Expand Down

0 comments on commit e9464f8

Please sign in to comment.