ck %!s(int64=4) %!d(string=hai) anos
pai
achega
3267062cf9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ServerWrapper.py

+ 1 - 1
ServerWrapper.py

@@ -25,7 +25,7 @@ class HttpServerWrapper(tornado.web.Application):
         self.port = port
         handlers = urls
         r = requests.get("http://jsonip.com").json()['ip']
-        auth =False if r == '47.111.161.141' else False
+        auth =True if r == '47.111.161.141' else False
         settings = {
             "port" : sys.argv[1],
             "auth": auth,