Minor bugfix on PathConfig

This commit is contained in:
Bjoern Kerler 2024-06-26 18:17:09 +02:00 committed by GitHub
parent 0d04780932
commit e9464f8388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,7 +184,7 @@ class Main(metaclass=LogBase):
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: