mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 20:53:13 -06:00
SSL verification disabled in Twitter authorisation
This commit is contained in:
parent
2296a03688
commit
755e004d97
@ -127,7 +127,7 @@ class Twython(EndpointsMixin, object):
|
|||||||
# Never be used again.
|
# Never be used again.
|
||||||
client_args_copy = self.client_args.copy()
|
client_args_copy = self.client_args.copy()
|
||||||
for k, v in client_args_copy.items():
|
for k, v in client_args_copy.items():
|
||||||
if k in ('cert', 'hooks', 'max_redirects', 'proxies'):
|
if k in ('verify', 'cert', 'hooks', 'max_redirects', 'proxies'):
|
||||||
setattr(self.client, k, v)
|
setattr(self.client, k, v)
|
||||||
self.client_args.pop(k) # Pop, pop!
|
self.client_args.pop(k) # Pop, pop!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user