From b81721e3d8a12fa7cd439fd594d190ff4d71db48 Mon Sep 17 00:00:00 2001 From: Hyperspeed1313 Date: Fri, 11 Oct 2024 22:54:50 -0500 Subject: [PATCH] Remove "quiet" from apiConfig before we send any API requests. --- porkbun-ddns.py | 1 + 1 file changed, 1 insertion(+) diff --git a/porkbun-ddns.py b/porkbun-ddns.py index 5fbd9cc..5c50011 100755 --- a/porkbun-ddns.py +++ b/porkbun-ddns.py @@ -38,6 +38,7 @@ if len(sys.argv)>2: #at least the config and root domain is specified apiConfig = json.load(open(sys.argv[1])) #load the config file into a variable rootDomain=sys.argv[2].lower() canPrint=not apiConfig["quiet"].lower=="true" + del apiConfig["quiet"] # Remove quiet so it doesn't get send with the API requests if len(sys.argv)>3 and sys.argv[3]!='-i': #check if a subdomain was specified as the third argument subDomain=sys.argv[3].lower()