mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
Strings and ints
I was comparing them. That was dumb
This commit is contained in:
parent
ba1e11d182
commit
876ac6f3a2
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user