Skip to content

Commit

Permalink
Catch one more.
Browse files Browse the repository at this point in the history
  • Loading branch information
breyten committed Jun 24, 2024
1 parent cd77443 commit 699e865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocd_backend/extractors/ibabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,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'] not in ['B', 'G', 'V', 'R', 'C', '1']) 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 ['B', 'G', 'V', 'R', 'C', '1', 'T']) and not start_date < iso8601.parse_date(report_dict['datum']).replace(tzinfo=None) < end_date:
# Skip report if date is outside date interval
continue

Expand Down

0 comments on commit 699e865

Please sign in to comment.