Compare commits

..

1 Commits

Author SHA1 Message Date
Peter Pfeufer
ca0f997763 Merge branch 'python-3.13' into 'master'
Draft: [CHANGE] Add Python 3.13 to the test matrix

See merge request allianceauth/allianceauth!1776
2025-10-29 13:26:41 +00:00

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