We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db4adf commit a570ddbCopy full SHA for a570ddb
splunklib/binding.py
@@ -265,7 +265,7 @@ def f():
265
@wraps(request_fun)
266
def wrapper(self, *args, **kwargs):
267
if self.token is _NoAuthenticationToken and \
268
- len(self.get_cookies()) < 1:
+ not self.has_cookies():
269
# Not yet logged in.
270
if self.autologin and self.username and self.password:
271
# This will throw an uncaught
0 commit comments