Skip to content

Commit

Permalink
Fix bug with logging existing cohort dates (#915)
Browse files Browse the repository at this point in the history
* Fix bug with logging existing cohort dates

* String formatting for dates in log output
  • Loading branch information
shaycrk authored Nov 8, 2022
1 parent c839769 commit 281d0eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _create_and_populate_entity_date_table_from_labels(self):
"""
))
if len(existing_dates) > 0:
existing_dates = ', '.join(existing_dates)
existing_dates = ', '.join([rec[0].isoformat() for rec in existing_dates])
logger.notice(f'Existing entity_dates records found for the following dates, '
f'so new records will not be inserted for these dates {existing_dates}')

Expand Down

0 comments on commit 281d0eb

Please sign in to comment.