mirror of
https://github.com/bkerler/mtkclient.git
synced 2025-03-22 02:45:18 -04:00
Minor bugfix on PathConfig
This commit is contained in:
parent
0d04780932
commit
e9464f8388
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class Main(metaclass=LogBase):
|
||||||
self.error(f"Error: {stage2file} doesn't exist !")
|
self.error(f"Error: {stage2file} doesn't exist !")
|
||||||
return False
|
return False
|
||||||
else:
|
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():
|
if mtk.preloader.init():
|
||||||
mtk = mtk.crasher()
|
mtk = mtk.crasher()
|
||||||
if mtk.port.cdc.pid == 0x0003:
|
if mtk.port.cdc.pid == 0x0003:
|
||||||
|
|
Loading…
Reference in a new issue