Skip to content

Commit d875589

Browse files
committed
Update exists.py
1 parent b42470f commit d875589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oscarapi/utils/exists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def find_existing_attribute_option_group(name, options):
5757
AttributeOptionGroup.objects.filter(name=name)
5858
.annotate(options_count=models.Count("options"))
5959
.filter(options_count=len(options))
60-
.filter(options__option__in=option)
60+
.filter(options__option__in=options)
6161
)
6262

6363
try:

0 commit comments

Comments
 (0)