Skip to content

Commit

Permalink
Fix patch response
Browse files Browse the repository at this point in the history
  • Loading branch information
KorayKirli committed Mar 23, 2017
1 parent 80265d0 commit ba9a1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wranglertools/fdnDCIC.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ def patch_FDN(obj_id, connection, patch_input):
logging.debug('PATCH RESPONSE: %s' % (json.dumps(response.json(), indent=4, separators=(',', ': '))))
return response.json()
else:
logging.warning('PATCH failure. Response = %s' % (response.text))
return response.text
# logging.warning('PATCH failure. Response = %s' % (response.text))
return response.json()


def new_FDN(connection, collection_name, post_input):
Expand Down

0 comments on commit ba9a1ec

Please sign in to comment.