requests lib futureproofing
parent
715cf8584e
commit
a1a8f860d3
|
|
@ -140,8 +140,8 @@ class Worker:
|
||||||
raise InvalidWorkerResponse("Worker address cannot be None")
|
raise InvalidWorkerResponse("Worker address cannot be None")
|
||||||
|
|
||||||
# auth
|
# auth
|
||||||
self.user = user
|
self.user = str(user) # casting these "prevents future issues with requests"
|
||||||
self.password = password
|
self.password = str(password)
|
||||||
|
|
||||||
# requests session
|
# requests session
|
||||||
self.session = requests.Session()
|
self.session = requests.Session()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue