Skip to content

Commit 1cabd20

Browse files
committed
Fixed a logic bug which set the wrong value to the verified fields property.
1 parent 248a7a9 commit 1cabd20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mosparo_api_client/Client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def verify_submission(self, form_data: dict, submit_token: str = None,
8181
is_valid = False
8282

8383
verified_fields = {}
84-
if 'verifiedFields' in res:
84+
if 'verifiedFields' in res and res['verifiedFields']:
8585
verified_fields = res['verifiedFields']
8686

8787
issues = []

0 commit comments

Comments
 (0)