mirror of
https://github.com/stryan/gandi-live-dns.git
synced 2024-11-22 21:35:45 -05:00
another decode
This commit is contained in:
parent
b65feb7683
commit
9df2ad1312
@ -25,7 +25,7 @@ def get_dynip(ifconfig_provider):
|
||||
return config.static_ip.strip('\n')
|
||||
|
||||
r = requests.get(ifconfig_provider)
|
||||
print('Checking dynamic IP: ' , r._content.strip('\n'))
|
||||
print('Checking dynamic IP: ' , r._content.decode().strip('\n'))
|
||||
return r.content.strip('\n')
|
||||
|
||||
def get_uuid():
|
||||
|
Loading…
Reference in New Issue
Block a user