whoops. SO CLOSEEEE
This commit is contained in:
parent
9246afa9f7
commit
58e495bf41
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user