X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/11b054f64b837660290e297c390aa09b0b57e8d6..HEAD:/server-scripts/checkip diff --git a/server-scripts/checkip b/server-scripts/checkip index 9ddbac2..55ff343 100755 --- a/server-scripts/checkip +++ b/server-scripts/checkip @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # Copyright (c) 2014, Ralf Jung # All rights reserved. # @@ -25,8 +25,8 @@ import os # print headers -print "Content-Type: text/plain" -print "" +print("Content-Type: text/plain") +print("") # print content -print os.environ["REMOTE_ADDR"] +print(os.environ["REMOTE_ADDR"])