From f20630564d1c4544822133718cb1c65ae8216b12 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 12 Nov 2016 17:49:49 +0100 Subject: [PATCH] Return connections --- python/lorautil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/lorautil.py b/python/lorautil.py index 5f2e8e8..de979ad 100644 --- a/python/lorautil.py +++ b/python/lorautil.py @@ -66,6 +66,8 @@ def pg_conn_notify(): conns.append(conn) log.debug("Waiting for notifications on channel {}".format(channel)) + return conns + def pg_wait_for_pkg(conns, callback): readable, writable, exceptional = select.select(conns,[],[])