summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prolog/engine.py1
-rw-r--r--readme.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/prolog/engine.py b/prolog/engine.py
index 11185b0..dc117f0 100644
--- a/prolog/engine.py
+++ b/prolog/engine.py
@@ -39,6 +39,7 @@ def stop(engine, timeout=10):
def destroy(engine):
params = urllib.parse.urlencode({'ids': engine})
try:
+ # We don't care about the answer here, so don't wait for it.
request('GET', '/pengine/destroy_all?' + params, timeout=0.01)
except:
pass
diff --git a/readme.txt b/readme.txt
index 4c902c3..33eb3a5 100644
--- a/readme.txt
+++ b/readme.txt
@@ -35,5 +35,5 @@ Debugging
>>> import server
>>> session = server.user_session.authenticate_and_create_session(user, pass)
->>> session.get_problem_data('prolog', 'family_relationss', 'sister_2')
+>>> session.get_problem_data('prolog', 'family_relations', 'sister_2')
>>> ...