From 9df2ad1312a20a113fe38eaea59d444a3ba143cb Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 24 Jul 2023 18:57:15 -0400 Subject: [PATCH] another decode --- src/gandi-live-dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gandi-live-dns.py b/src/gandi-live-dns.py index 365e7b2..00ca961 100755 --- a/src/gandi-live-dns.py +++ b/src/gandi-live-dns.py @@ -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():