mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Proper fix for problem URL tests exposed
This commit is contained in:
parent
a8584ba898
commit
533fbd2762
@ -751,7 +751,7 @@ class CommandThread(threading.Thread):
|
|||||||
"""Just does some extra logging and error-recovery for commands that need
|
"""Just does some extra logging and error-recovery for commands that need
|
||||||
to run in threads.
|
to run in threads.
|
||||||
"""
|
"""
|
||||||
def __init__(self, target=None, args=None, kwargs=None):
|
def __init__(self, target=None, args=(), kwargs={}):
|
||||||
(self.name, self.command, self.cb) = args
|
(self.name, self.command, self.cb) = args
|
||||||
world.threadsSpawned += 1
|
world.threadsSpawned += 1
|
||||||
threadName = 'Thread #%s (for %s.%s)' % (world.threadsSpawned,
|
threadName = 'Thread #%s (for %s.%s)' % (world.threadsSpawned,
|
||||||
|
Loading…
Reference in New Issue
Block a user