Skip to content

Commit f7f15b2

Browse files
committed
Update client.py
1 parent ac706f7 commit f7f15b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

splunklib/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ def _load_sid(response, output_mode):
230230
if output_mode == "json":
231231
json_obj = json.loads(response.body.read())
232232
return json_obj.get('sid')
233-
else:
234-
return _load_atom(response).response.sid
233+
return _load_atom(response).response.sid
235234

236235

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

0 commit comments

Comments
 (0)