summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorAleksander Sadikov <sasha@fri.uni-lj.si>2015-08-30 18:23:06 +0200
committerAleksander Sadikov <sasha@fri.uni-lj.si>2015-08-30 18:23:06 +0200
commitce5bb5482f011398e894ad13c16ca7529fdce9b0 (patch)
treeabc821864c16c27dd79293dc0e4c3fc604f55fa5 /prolog
parent2573a5e1e8dbd61ed0ea2fd6432bdeb8d65948b5 (diff)
Replaced localhost with 127.0.0.1
Windows takes a while to resolve the above.
Diffstat (limited to 'prolog')
-rw-r--r--prolog/engine.py2
1 files changed, 1 insertions, 1 deletions
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 = []