From 7c105b5b194ab63266571fa7fc5b2d961c98e851 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 17 Feb 2014 20:35:55 +0100 Subject: Small queue handling bugfix --- host/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host') diff --git a/host/server.py b/host/server.py index ab3f7b5..7075404 100755 --- a/host/server.py +++ b/host/server.py @@ -141,7 +141,8 @@ if __name__ == '__main__': while True: if current_entry.entrytype == 'text': if scroll(current_entry.text): - textqueue.remove(current_entry) + if current_entry in textqueue: + textqueue.remove(current_entry) if textqueue: current_entry = textqueue[0] else: -- cgit