SO close.
This commit is contained in:
parent
f37d26572a
commit
9246afa9f7
@ -207,7 +207,7 @@ class TunnelBroker(object):
|
|||||||
def update(self):
|
def update(self):
|
||||||
if not self.my_ip:
|
if not self.my_ip:
|
||||||
self._get_my_ip()
|
self._get_my_ip()
|
||||||
auth_handler = requests.auth.HTTPBasicAuth(self.tun.creds.user, self.tun.creds.update_key)
|
auth_handler = requests.auth.HTTPBasicAuth(self.tun.creds.user, self.tun.update_key)
|
||||||
logger.debug('Set auth handler.')
|
logger.debug('Set auth handler.')
|
||||||
logger.debug('Requesting IP update at provider.')
|
logger.debug('Requesting IP update at provider.')
|
||||||
req = requests.get(self.url_api,
|
req = requests.get(self.url_api,
|
||||||
|
Loading…
Reference in New Issue
Block a user