X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/426e8a316ec0366f90fb8a94f4b494e9e5b72cc2..a05ca1fc13338045c3d531615b868510ce062078:/server-scripts/checkip 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"])