X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/35c48c1c12c7c9c4bcafd74fcaa74dd8ba00c51a..HEAD:/server-scripts/checkip?ds=inline diff --git a/server-scripts/checkip b/server-scripts/checkip index d4eec23..55ff343 100755 --- a/server-scripts/checkip +++ b/server-scripts/checkip @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/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"])