mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 14:16:21 +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()
|
||||
for key in remote_groups:
|
||||
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:
|
||||
g.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user