SO close.

This commit is contained in:
brent s. 2020-05-15 01:49:23 -04:00
parent f37d26572a
commit 9246afa9f7
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -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,