We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cf02b commit 93880d9Copy full SHA for 93880d9
1 file changed
backend/connectors/wqp/source.py
@@ -164,8 +164,9 @@ def _clean_records(self, records):
164
raise ValueError(
165
f"Multiple TDS records found for {site_id} with ActivityIdentifier {activity_identifier} but no 70300, 70301, or 70303 pcodes found."
166
)
167
+ record_date = kept_record["ActivityStartDate"]
168
self.log(
- f"Removing duplicates for {site_id} with ActivityIdentifier {activity_identifier}. Keeping record with pcode {pcode}."
169
+ f"Removing duplicates for {site_id} on {record_date} with ActivityIdentifier {activity_identifier}. Keeping record with pcode {pcode}."
170
171
else:
172
kept_record = list(ai_records.values())[0]
0 commit comments