From 566ad3a7cf746ab54fa9e03d71342c448c1ce983 Mon Sep 17 00:00:00 2001 From: Timothy Miller <46549361+timothymiller@users.noreply.github.com> Date: Sun, 31 Jul 2022 02:44:38 -0400 Subject: [PATCH] Cleaned up code smells --- cloudflare-ddns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudflare-ddns.py b/cloudflare-ddns.py index 3359fbd..dc988b2 100755 --- a/cloudflare-ddns.py +++ b/cloudflare-ddns.py @@ -243,12 +243,12 @@ if __name__ == '__main__': if(sys.argv[1] == "--repeat"): if ipv4_enabled and ipv6_enabled: print( - "🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every " + ttl + " seconds") + "🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every " + str(ttl) + " seconds") elif ipv4_enabled and not ipv6_enabled: - print("🕰️ Updating IPv4 (A) records every " + ttl + " seconds") + print("🕰️ Updating IPv4 (A) records every " + str(ttl) + " seconds") elif ipv6_enabled and not ipv4_enabled: print("🕰️ Updating IPv6 (AAAA) records every " + - ttl + " seconds") + str(ttl) + " seconds") next_time = time.time() killer = GracefulExit() prev_ips = None