Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix from getting "ValueError: '{IP}\n' does not appear to be an IPv4 …
…or IPv6 address" error The script was not working and I was getting the error mentioned in the message. It seemed that the IP strings the script was receiving had new line characters at their ends, strange. Fixed by changing lines 72 and 88 in porkbun_ddns.py from "response.read().decode("utf-8"))" to "response.read().decode("utf-8")).strip()".
- Loading branch information