More indentation

Notepad++ was configured to use tabs instead of spaces. That shouldn't
happen anymore.
This commit is contained in:
Brett Costabile 2015-11-01 17:53:10 -05:00
parent ee3fe5e43e
commit 2eb0bd5221

View File

@ -95,17 +95,17 @@ class Teamspeak3Manager:
@staticmethod @staticmethod
def _add_user_to_group(uid, groupname): def _add_user_to_group(uid, groupname):
print("--RUNNING _add_user_to_groups()--") print("--RUNNING _add_user_to_groups()--")
groupname = groupname[:30] groupname = groupname[:30]
print("groupname = {0}").format(groupname) print("groupname = {0}").format(groupname)
server = Teamspeak3Manager.__get_created_server() server = Teamspeak3Manager.__get_created_server()
server_groups = Teamspeak3Manager._group_list() server_groups = Teamspeak3Manager._group_list()
user_groups = Teamspeak3Manager._user_group_list(uid) user_groups = Teamspeak3Manager._user_group_list(uid)
print("user_groups = {0}").format(user_groups) print("user_groups = {0}").format(user_groups)
if not groupname in server_groups: if not groupname in server_groups:
#Teamspeak3Manager._create_group(groupname) #Teamspeak3Manager._create_group(groupname)
print("----GROUP NAME WAS NOT FOUND IN SERVER GROUPS----") print("----GROUP NAME WAS NOT FOUND IN SERVER GROUPS----")
if not groupname in user_groups: if not groupname in user_groups:
resp = server.send_command('servergroupaddclient', resp = server.send_command('servergroupaddclient',
{'sgid': Teamspeak3Manager._group_id_by_name(groupname), 'cldbid': uid}) {'sgid': Teamspeak3Manager._group_id_by_name(groupname), 'cldbid': uid})