Fix Queue

This commit is contained in:
croneter 2020-12-19 08:11:45 +01:00
parent 382411bff0
commit d7525274e9

View file

@ -237,7 +237,7 @@ class Sync(backgroundthread.KillableThread):
# See if there is a PMS message we need to handle
try:
message = queue.get(block=False)
except backgroundthread.Queue.Empty:
except backgroundthread.queue.Empty:
pass
# Got a message from PMS; process it
else: