Compare commits

..

No commits in common. "442c893c39afc29f49bbab71bac7c3aa32b899b7" and "5d56f0a66c81c174664abd0212d890db7cc7f87b" have entirely different histories.

View File

@ -111,11 +111,11 @@ class Teamspeak3Manager:
outlist = {}
if type(groups) == list:
logger.debug("Received multiple groups. Iterating.")
logger.debug("Recieved multiple groups. Iterating.")
for group in groups:
outlist[group['keys']['name']] = group['keys']['sgid']
elif type(groups) == dict:
logger.debug("Received single group.")
logger.debug("Recieved single group.")
outlist[groups['keys']['name']] = groups['keys']['sgid']
logger.debug("Returning name/id pairing: %s" % outlist)
return outlist