I think
This commit is contained in:
parent
c0ceb46883
commit
2fab15db71
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -270,7 +270,7 @@ class bot(bare.bot):
|
||||||
tdict = {}
|
tdict = {}
|
||||||
for thread in self.threads:
|
for thread in self.threads:
|
||||||
tdict[thread] = timers.data[thread]
|
tdict[thread] = timers.data[thread]
|
||||||
if tdict[thread]["passInstance"]:
|
if tdict[thread]["passInstance"]:
|
||||||
tdict[thread]["args"] = [self]
|
tdict[thread]["args"] = [self]
|
||||||
tMgr = Thread(target=timers.threadManager, args=(tdict,))
|
tMgr = Thread(target=timers.threadManager, args=(tdict,))
|
||||||
tMgr.daemon = True
|
tMgr.daemon = True
|
||||||
|
|
Loading…
Reference in a new issue