Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ashah-splunk committed Apr 14, 2022
1 parent ac706f7 commit f7f15b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions splunklib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ def _load_sid(response, output_mode):
if output_mode == "json":
json_obj = json.loads(response.body.read())
return json_obj.get('sid')
else:
return _load_atom(response).response.sid
return _load_atom(response).response.sid


# Parse the given atom entry record into a generic entity state record
Expand Down

0 comments on commit f7f15b2

Please sign in to comment.