Skip to content

Commit c36ab3d

Browse files
committed
Format
1 parent f071ffd commit c36ab3d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mati/resources/verifications.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ def proof_of_residency_document(self) -> Optional[VerificationDocument]:
8282
def proof_of_life_document(self) -> Optional[Liveness]:
8383
if not self.steps:
8484
return None
85-
pol = [pol for pol in self.steps if (pol.id == 'liveness' or pol.id == 'selfie')]
85+
pol = [
86+
pol
87+
for pol in self.steps
88+
if (pol.id == 'liveness' or pol.id == 'selfie')
89+
]
8690
return pol[-1] if pol else None
8791

8892
@property

0 commit comments

Comments
 (0)