mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 19:25:05 -05:00
Merge pull request #1190 from a10kiloham/patch-1
Some checks failed
Python application / Test (push) Has been cancelled
Some checks failed
Python application / Test (push) Has been cancelled
Fix expected type of default parameter for filename
This commit is contained in:
commit
af97fe658e
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ class XFlashExt(metaclass=LogBase):
|
||||||
return False, writedata
|
return False, writedata
|
||||||
if self.xflash.writeflash(addr=partition.sector * self.mtk.daloader.daconfig.pagesize,
|
if self.xflash.writeflash(addr=partition.sector * self.mtk.daloader.daconfig.pagesize,
|
||||||
length=len(writedata),
|
length=len(writedata),
|
||||||
filename=None, wdata=writedata, parttype="user", display=True):
|
filename="", wdata=writedata, parttype="user", display=True):
|
||||||
return True, "Successfully wrote seccfg."
|
return True, "Successfully wrote seccfg."
|
||||||
return False, "Error on writing seccfg config to flash."
|
return False, "Error on writing seccfg config to flash."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue