mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -05:00
only one there
This commit is contained in:
parent
d4e2b5e958
commit
a12eea34b7
@ -106,7 +106,9 @@ class BotEvents(object):
|
|||||||
self.lock.acquire()
|
self.lock.acquire()
|
||||||
if not isinstance(startlist, list):
|
if not isinstance(startlist, list):
|
||||||
startlist = [str(startlist)]
|
startlist = [str(startlist)]
|
||||||
self.dict["startup_required"].extend(startlist)
|
for eventitem in startlist:
|
||||||
|
if eventitem not in self.dict["startup_required"]:
|
||||||
|
self.dict["startup_required"].append(eventitem)
|
||||||
self.lock.release()
|
self.lock.release()
|
||||||
|
|
||||||
def startup_check(self):
|
def startup_check(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user