Skip to content

Commit 7ead3ff

Browse files
committed
Another fix
1 parent 73a8a21 commit 7ead3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/donate/signals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
def show_to_geo(promo, country_code):
3030
# Remove promo's that exclude this country.
3131
for geo_filter in promo.geo_filters.all():
32-
if geo_filter.geo_filter_type == INCLUDE:
32+
if geo_filter.filter_type == INCLUDE:
3333
if country_code in geo_filter.codes:
3434
continue
3535
else:
3636
return False
37-
if geo_filter.geo_filter_type == EXCLUDE:
37+
if geo_filter.filter_type == EXCLUDE:
3838
if country_code in geo_filter.codes:
3939
return False
4040

0 commit comments

Comments
 (0)