Fixing Server Admin assignment

Changed _add_user_to_group() to take group ID instead of group name.
addgroups and remgroups are now lists instead of dictionaries because I
don't need the group names anymore.
Removed debug logging from _add_user_to_group() and send_command()
This commit is contained in:
Brett Costabile
2015-11-01 23:40:34 -05:00
parent 478d855d62
commit 7039cffddb
2 changed files with 12 additions and 20 deletions

View File

@@ -60,8 +60,6 @@ class TS3Proto():
def send_command(self, command, keys=None, opts=None):
cmd = self.construct_command(command, keys=keys, opts=opts)
self.send('%s\n' % cmd)
print("Command to be sent: {0}").format(cmd)
data = []