tktable added
--HG-- branch : aspn
This commit is contained in:
@@ -12,8 +12,8 @@ class StoppableThread(Thread):
|
||||
"""Thread class with a stop() method. The thread itself has to check
|
||||
regularly for the stopped() condition."""
|
||||
|
||||
def __init__(self):
|
||||
super(StoppableThread, self).__init__()
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(StoppableThread, self).__init__(*args, **kwargs)
|
||||
self._stop = Event()
|
||||
|
||||
def stop(self):
|
||||
|
||||
Reference in New Issue
Block a user