mirror of
https://github.com/bkerler/edl.git
synced 2024-11-28 02:15:40 -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]
|
||||
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
||||
if active:
|
||||
self.printer("Current active slot : a")
|
||||
self.printer("Current active slot: a")
|
||||
return True
|
||||
res = self.firehose.detect_partition(options, "boot_b")
|
||||
if res[0]:
|
||||
|
@ -655,7 +655,7 @@ class firehose_client(metaclass=LogBase):
|
|||
partition = res[2]
|
||||
active = ((partition.flags >> (AB_FLAG_OFFSET*8))&0xFF) & AB_PARTITION_ATTR_SLOT_ACTIVE == AB_PARTITION_ATTR_SLOT_ACTIVE
|
||||
if active:
|
||||
self.printer("Current active slot : b")
|
||||
self.printer("Current active slot: b")
|
||||
return True
|
||||
self.error("Can't detect active slot. Please make sure your device has slot A/B")
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue