This commit is contained in:
parent
23599ee1b2
commit
c6cc3cbd26
1 changed files with 2 additions and 2 deletions
|
@ -430,11 +430,11 @@ class DBState(typing.NamedTuple):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def catching_up(self) -> bool:
|
def catching_up(self) -> bool:
|
||||||
return self.bit_fields & 1 == 1
|
return self.bit_fields & 1 != 0
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def index_address_statuses(self) -> bool:
|
def index_address_statuses(self) -> bool:
|
||||||
return self.bit_fields & 2 == 1
|
return self.bit_fields & 2 != 0
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def expanded(self):
|
def expanded(self):
|
||||||
|
|
Loading…
Reference in a new issue