Skip to content
2 changes: 1 addition & 1 deletion portal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_unique_apps(queryset, app_ids_to_exclude):
unique_app_ids_ = set()
unique_apps_ = []
for app in queryset:
if app.id not in app_ids_to_exclude and app_id not in unique_app_ids_:
if app.id not in app_ids_to_exclude and app.id not in unique_app_ids_:
unique_app_ids_.add(app.id)
unique_apps_.append(app)
return unique_apps_, unique_app_ids_
Expand Down
Loading