forked from Mirror/pmbootstrap
treewide: drop context.device (MR 2332)
this turns out to have never been set??? We have config.device anyways, so let's use that instead. Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org> Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
84332cdce0
commit
35eff91564
6 changed files with 26 additions and 34 deletions
|
@ -144,7 +144,7 @@ def flash_lk2nd(deviceinfo: Deviceinfo, method: str):
|
|||
def frontend(args: PmbArgs):
|
||||
context = get_context()
|
||||
action = args.action_flasher
|
||||
device = context.device
|
||||
device = context.config.device
|
||||
deviceinfo = pmb.parse.deviceinfo()
|
||||
method = args.flash_method or deviceinfo.flash_method
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue