mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-06 21:01:42 +01:00
Compare commits
No commits in common. "442c893c39afc29f49bbab71bac7c3aa32b899b7" and "5d56f0a66c81c174664abd0212d890db7cc7f87b" have entirely different histories.
442c893c39
...
5d56f0a66c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user