From ce5bb5482f011398e894ad13c16ca7529fdce9b0 Mon Sep 17 00:00:00 2001 From: Aleksander Sadikov Date: Sun, 30 Aug 2015 18:23:06 +0200 Subject: Replaced localhost with 127.0.0.1 Windows takes a while to resolve the above. --- prolog/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prolog/engine.py') diff --git a/prolog/engine.py b/prolog/engine.py index 5377ac7..91c6172 100644 --- a/prolog/engine.py +++ b/prolog/engine.py @@ -47,7 +47,7 @@ def send(engine, event, timeout=10): return request('GET', path='/pengine/send?' + params, timeout=timeout) # Return the main reply and pull potential output replies. -address, port = 'localhost', 3030 # TODO put this somewhere sane +address, port = '127.0.0.1', 3030 # TODO put this somewhere sane def request(method, path, body=None, timeout=10): headers = {'Content-Type': 'application/json;charset=utf-8'} messages = [] -- cgit v1.2.1