mirror of
https://github.com/bkerler/edl.git
synced 2025-02-26 00:14:23 -05:00
fix typeo
This commit is contained in:
parent
db1f818920
commit
4514b83693
1 changed files with 2 additions and 2 deletions
|
@ -647,7 +647,7 @@ class firehose_client(metaclass=LogBase):
|
||||||
partition = res[2]
|
partition = res[2]
|
||||||
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
||||||
if active:
|
if active:
|
||||||
self.printer("Current active slot : a")
|
self.printer("Current active slot: a")
|
||||||
return True
|
return True
|
||||||
res = self.firehose.detect_partition(options, "boot_b")
|
res = self.firehose.detect_partition(options, "boot_b")
|
||||||
if res[0]:
|
if res[0]:
|
||||||
|
@ -655,7 +655,7 @@ class firehose_client(metaclass=LogBase):
|
||||||
partition = res[2]
|
partition = res[2]
|
||||||
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
||||||
if active:
|
if active:
|
||||||
self.printer("Current active slot : b")
|
self.printer("Current active slot: b")
|
||||||
return True
|
return True
|
||||||
self.error("Can't detect active slot. Please make sure your device has slot A/B")
|
self.error("Can't detect active slot. Please make sure your device has slot A/B")
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue