mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 08:36:23 +01:00
filter
It's not plural
This commit is contained in:
@@ -122,7 +122,7 @@ class Teamspeak3Manager:
|
|||||||
TSgroup.objects.filter(ts_group_id=group.ts_group_id).delete()
|
TSgroup.objects.filter(ts_group_id=group.ts_group_id).delete()
|
||||||
for key in remote_groups:
|
for key in remote_groups:
|
||||||
g = TSgroup(ts_group_id=remote_groups[key],ts_group_name=key)
|
g = TSgroup(ts_group_id=remote_groups[key],ts_group_name=key)
|
||||||
q = TSgroup.objects.filters(ts_group_id=g.ts_group_id)
|
q = TSgroup.objects.filter(ts_group_id=g.ts_group_id)
|
||||||
if not q:
|
if not q:
|
||||||
g.save()
|
g.save()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user