aboutsummaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rwxr-xr-xhost/server.py3
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: