From 07f151dba6637f2c32b5326ff1c3ef899b1462c6 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 24 Jul 2023 18:59:39 -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 00ca961..3f40018 100755 --- a/src/gandi-live-dns.py +++ b/src/gandi-live-dns.py @@ -26,7 +26,7 @@ def get_dynip(ifconfig_provider): r = requests.get(ifconfig_provider) print('Checking dynamic IP: ' , r._content.decode().strip('\n')) - return r.content.strip('\n') + return r.content.decode().strip('\n') def get_uuid(): '''