Skip to content

Commit cdaa3b9

Browse files
committed
Squash AccessTokensAPI assertion error on timeout bug
1 parent 08edded commit cdaa3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ciscosparkapi/api/accesstokens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, base_url, timeout=None):
7777
7878
"""
7979
assert isinstance(base_url, basestring)
80-
assert timeout is None or isinstance(timeout, basestring)
80+
assert timeout is None or isinstance(timeout, int)
8181
super(AccessTokensAPI, self).__init__()
8282
self._base_url = validate_base_url(base_url)
8383
self._timeout = timeout

0 commit comments

Comments
 (0)