another decode

This commit is contained in:
stryan 2023-07-24 18:57:15 -04:00
parent b65feb7683
commit 9df2ad1312

View File

@ -25,7 +25,7 @@ def get_dynip(ifconfig_provider):
return config.static_ip.strip('\n') return config.static_ip.strip('\n')
r = requests.get(ifconfig_provider) 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') return r.content.strip('\n')
def get_uuid(): def get_uuid():