diff options
-rwxr-xr-x | host/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |