Skip to content

Commit

Permalink
Merge 1b125fb into 8422a31
Browse files Browse the repository at this point in the history
  • Loading branch information
GDay authored Oct 18, 2023
2 parents 8422a31 + 1b125fb commit 83c0331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions back/admin/integrations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ def execute(self, new_hire=None, params=None):
self.params["files"][save_as_file] = io.BytesIO(response.content)

# save json response temporarily to be reused in other parts
if save_as_file is None and not isinstance(response, str):
try:
self.params["responses"].append(response.json())
else:
except: # noqa E722
# if we save a file, then just append an empty dict
self.params["responses"].append({})

Expand Down

0 comments on commit 83c0331

Please sign in to comment.