From f352ad0ea7e6e85ab42e56822779a4bf06400f04 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 21 Sep 2015 10:12:40 +0200 Subject: Changed testing in util.py Changed output when timeout occurs in Python --- server/python_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/python_session.py b/server/python_session.py index 62fcbf8..7ffb070 100644 --- a/server/python_session.py +++ b/server/python_session.py @@ -51,7 +51,7 @@ class PythonSession(object): if conn.poll(real_timeout): results.append(conn.recv()) else: - results.append('timed out') + results.append((None, None, None, 'timed out')) p.terminate() return results -- cgit v1.2.1