We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f071ffd commit c36ab3dCopy full SHA for c36ab3d
mati/resources/verifications.py
@@ -82,7 +82,11 @@ def proof_of_residency_document(self) -> Optional[VerificationDocument]:
82
def proof_of_life_document(self) -> Optional[Liveness]:
83
if not self.steps:
84
return None
85
- pol = [pol for pol in self.steps if (pol.id == 'liveness' or pol.id == 'selfie')]
+ pol = [
86
+ pol
87
+ for pol in self.steps
88
+ if (pol.id == 'liveness' or pol.id == 'selfie')
89
+ ]
90
return pol[-1] if pol else None
91
92
@property
0 commit comments