mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
Change add missing queue to call.
This commit is contained in:
parent
ee8e44f914
commit
b155f021e9
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class Event:
|
|||
class Events(threading.Thread):
|
||||
def __init__(self, callback):
|
||||
super(Events, self).__init__()
|
||||
self.queue = moves.Queue()
|
||||
self.queue = moves.queue.Queue()
|
||||
self.daemon = True
|
||||
self.callback = callback
|
||||
self.name = "EVENT-QUEUE"
|
||||
|
@ -33,7 +33,7 @@ class Events(threading.Thread):
|
|||
|
||||
# event completed
|
||||
self.queue.task_done()
|
||||
except moves.Empty:
|
||||
except moves.queue.Empty:
|
||||
type = None
|
||||
|
||||
# exiting thread
|
||||
|
|
Loading…
Reference in a new issue