From 776881775b21239084a42f4f9167a1d09641fd0d Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 11 Feb 2024 15:56:48 +0100 Subject: [PATCH] Only update when changed is True --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5f0533c..23f0943 100644 --- a/main.py +++ b/main.py @@ -48,7 +48,7 @@ def main(): publicAddress() changed = cloudflareDDNS() - if changed: + if changed is True: notify("IP changed to: {}. Updating all cloudflare zones!".format(currentIP)) updateAllZones(recordedIP, currentIP)