Browse Source

Fixed test

pull/172/head
Michael Olund 5 years ago
parent
commit
078520e480
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      edivorce/apps/core/utils/efiling_submission.py

+ 1
- 1
edivorce/apps/core/utils/efiling_submission.py View File

@ -173,7 +173,7 @@ class EFilingSubmission:
response = json.loads(response.text)
if response['details'] and len(response['details']) > 0:
if 'details' in response and len(response['details']) > 0:
return None, response['details'][0]
return None, f"{response['error']} - {response['message']}"


Loading…
Cancel
Save