From 796262427ada96803f9cd0a0519523e21e0bb830 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 Mar 2021 11:08:25 +0000 Subject: [PATCH] Exit from speaker client on keypress --- epicyon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epicyon.py b/epicyon.py index 4d3e6dddd..91b56c9ee 100644 --- a/epicyon.py +++ b/epicyon.py @@ -2014,7 +2014,7 @@ if args.speaker: # wait for a while, or until a key is pressed rlist, wlist, xlist = select([sys.stdin], [], [], 30) if rlist: - print("Key pressed..." + str(rlist)) + break sys.exit() if federationList: