mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
only one there
This commit is contained in:
parent
d4e2b5e958
commit
a12eea34b7
@ -106,7 +106,9 @@ class BotEvents(object):
|
||||
self.lock.acquire()
|
||||
if not isinstance(startlist, list):
|
||||
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()
|
||||
|
||||
def startup_check(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user