diff --git a/porkbun-ddns.py b/porkbun-ddns.py index 42251c9..ac1b16c 100755 --- a/porkbun-ddns.py +++ b/porkbun-ddns.py @@ -52,7 +52,8 @@ if len(sys.argv)>2: #at least the config and root domain is specified myIP=sys.argv[5] else: myIP=getMyIP() #otherwise use the detected exterior IP address - deleteRecord() + + deleteRecord() if getRecords(fqdn)["status"]=="ERROR": print(createRecord()["status"])