Small queue handling bugfix
This commit is contained in:
parent
1392b46636
commit
7c105b5b19
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue