Fix shebang for Python 3

This commit is contained in:
2020-05-25 17:04:27 +01:00
committed by GitHub
parent 30c3d70c02
commit 236f8fcfe6

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
try:
import requests
@@ -142,4 +142,4 @@ else:
exit(0)
else:
print("Cloudflare IP does not match our current IP... Updating Cloudflare.")
updateCloudflare(zoneID, authEmail, apiKey, hostToUpdate, ip)
updateCloudflare(zoneID, authEmail, apiKey, hostToUpdate, ip)