diff --git a/company.py b/company.py index 357a62030f..9ad563274d 100644 --- a/company.py +++ b/company.py @@ -148,5 +148,5 @@ class CompanyReport(Report): @classmethod def get_context(cls, records, header, data): context = super().get_context(records, header, data) - context['company'] = header['company'] + context['company'] = header.get('company') return context