Skip to content

Commit 0591ae5

Browse files
author
Maxime Belanger
committed
Merge pull request #12 from r-daneel/patch-1
cast 'timeout' to float
2 parents 114f97c + 8867c3b commit 0591ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ubersmith_client/ubersmith_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, url, user, password, timeout, use_http_get):
1919
self.url = url
2020
self.user = user
2121
self.password = password
22-
self.timeout = timeout
22+
self.timeout = float(timeout)
2323
self.ubersmith_request = UbersmithRequestGet if use_http_get else UbersmithRequestPost
2424

2525
def __getattr__(self, module):

0 commit comments

Comments
 (0)