diff --git a/ocd_backend/extractors/ibabs.py b/ocd_backend/extractors/ibabs.py index c5a5841a..bfdd8046 100644 --- a/ocd_backend/extractors/ibabs.py +++ b/ocd_backend/extractors/ibabs.py @@ -306,7 +306,7 @@ def run(self): report_dict['datum'] = None # datum can sometimes be 'V' -- unsure what it means - if report_dict['datum'] and isinstance(report_dict['datum'], str) and report_dict['datum'] != 'V' and not start_date < iso8601.parse_date(report_dict['datum']).replace(tzinfo=None) < end_date: + if report_dict['datum'] and isinstance(report_dict['datum'], str) and (report_dict['datum'] not in ['V', 'R']) and not start_date < iso8601.parse_date(report_dict['datum']).replace(tzinfo=None) < end_date: # Skip report if date is outside date interval continue