Small queue handling bugfix

This commit is contained in:
jaseg 2014-02-17 20:35:55 +01:00
parent 1392b46636
commit 7c105b5b19

View file

@ -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: