Strings and ints

I was comparing them. That was dumb
This commit is contained in:
Brett Costabile 2015-11-02 23:30:00 -05:00
parent ba1e11d182
commit 876ac6f3a2

View File

@ -117,6 +117,8 @@ class Teamspeak3Manager:
def _sync_ts_group_db(): def _sync_ts_group_db():
remote_groups = Teamspeak3Manager._group_list() remote_groups = Teamspeak3Manager._group_list()
local_groups = TSgroup.objects.all() local_groups = TSgroup.objects.all()
remote_groups = [ int(id) for id in remote_groups ]
print("--Doing group sync--") print("--Doing group sync--")
print("Remote groups {0}").format(remote_groups.values()) print("Remote groups {0}").format(remote_groups.values())
for group in local_groups: for group in local_groups: