Cleaned up code smells

This commit is contained in:
Timothy Miller 2022-07-31 02:44:38 -04:00
parent 3287447e0a
commit 566ad3a7cf

View File

@ -243,12 +243,12 @@ if __name__ == '__main__':
if(sys.argv[1] == "--repeat"): if(sys.argv[1] == "--repeat"):
if ipv4_enabled and ipv6_enabled: if ipv4_enabled and ipv6_enabled:
print( 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: 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: elif ipv6_enabled and not ipv4_enabled:
print("🕰️ Updating IPv6 (AAAA) records every " + print("🕰️ Updating IPv6 (AAAA) records every " +
ttl + " seconds") str(ttl) + " seconds")
next_time = time.time() next_time = time.time()
killer = GracefulExit() killer = GracefulExit()
prev_ips = None prev_ips = None