only one there

This commit is contained in:
deathbybandaid 2019-05-31 13:51:46 -04:00
parent d4e2b5e958
commit a12eea34b7

View File

@ -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):