mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 21:53: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):
|
class Events(threading.Thread):
|
||||||
def __init__(self, callback):
|
def __init__(self, callback):
|
||||||
super(Events, self).__init__()
|
super(Events, self).__init__()
|
||||||
self.queue = moves.Queue()
|
self.queue = moves.queue.Queue()
|
||||||
self.daemon = True
|
self.daemon = True
|
||||||
self.callback = callback
|
self.callback = callback
|
||||||
self.name = "EVENT-QUEUE"
|
self.name = "EVENT-QUEUE"
|
||||||
|
@ -33,7 +33,7 @@ class Events(threading.Thread):
|
||||||
|
|
||||||
# event completed
|
# event completed
|
||||||
self.queue.task_done()
|
self.queue.task_done()
|
||||||
except moves.Empty:
|
except moves.queue.Empty:
|
||||||
type = None
|
type = None
|
||||||
|
|
||||||
# exiting thread
|
# exiting thread
|
||||||
|
|
Loading…
Reference in a new issue