diff --git a/sfm/ui/views.py b/sfm/ui/views.py index 807a25ae..5dc5fa52 100644 --- a/sfm/ui/views.py +++ b/sfm/ui/views.py @@ -838,7 +838,8 @@ def get_context_data(self, **kwargs): for export in exports: seeds = list(export.seeds.all()) collection = seeds[0].collection if seeds else export.collection - export_list.append((collection.collection_set, collection, export)) + if collection: + export_list.append((collection.collection_set, collection, export)) context['export_list'] = export_list return context