whoops. SO CLOSEEEE

This commit is contained in:
brent s. 2020-05-15 01:50:45 -04:00
parent 9246afa9f7
commit 58e495bf41
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -212,7 +212,7 @@ class TunnelBroker(object):
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,
params = {'hostname': str(self.tun.id), params = {'hostname': str(self.tun.id),
'myip': self.my_ip}, 'myip': str(self.my_ip)},
auth = auth_handler) auth = auth_handler)
if not req.ok: if not req.ok:
logger.error('Could not update IP at provider. Request returned {0}.'.format(req.status_code)) logger.error('Could not update IP at provider. Request returned {0}.'.format(req.status_code))