diff --git a/21_list_import_status.py b/21_list_import_status.py index 6a06d9a..62ce8ee 100644 --- a/21_list_import_status.py +++ b/21_list_import_status.py @@ -245,6 +245,9 @@ def process_single_dataset(checked_data_sources, atp_code, area): import_judgment = data_extractor_function(entry) # a bit weird place to check that, but it is checked only here as it requires external call # so it is preferable to do it sparingly + if import_judgment['status'] == 'no_import_for_this_key': + # hide already matched entries - show just proposed import entries and failed matching + continue import_judgment = adjust_judgment_for_address_location_mismatch_checked_by_nominatim(entry, import_judgment) extracted['data'].append(entry_to_presentation_object(extracted['key'], entry, import_judgment)) apparently_importable[extracted['key']].append(entry)