This commit is contained in:
Holger Trampe 2021-10-22 23:23:27 +02:00
parent d47376c8df
commit e8c388d5fa
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ class AdmImportFlow(TemplateView):
for g in groups: for g in groups:
# GET AGENCY GROUP # GET AGENCY GROUP
agencygroupcheck = AgencyGroup.objects.get(group=g) agencygroupcheck = AgencyGroup.objects.filter(group=g).first()
if(ag_pk in g.name and str(agencygroupcheck.agency.pk) == ag_pk): if(ag_pk in g.name and str(agencygroupcheck.agency.pk) == ag_pk):
ag_groups.append(g) ag_groups.append(g)