Skip to content

Commit

Permalink
Minor tweak to the extraction rule cell to handle an edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnowzari committed Feb 25, 2025
1 parent 9a5ebf1 commit ccedd54
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,15 @@
" }\n",
" ]\n",
"\n",
" print(\n",
" f\"{extr_count}.) Crawler {config_oid} has extraction rules {temp_extraction_rulesets}\\n\"\n",
" )\n",
" extr_count += 1\n",
" inflight_configuration_data[config_oid][\"domains_temp\"][domain_oid][\n",
" \"extraction_rulesets\"\n",
" ] = temp_extraction_rulesets"
" if domain_oid in inflight_configuration_data[config_oid][\"domains_temp\"]:\n",
" print(\n",
" f\"{extr_count}.) Crawler {config_oid} has extraction rules {temp_extraction_rulesets}\\n\"\n",
" )\n",
" extr_count += 1\n",
"\n",
" inflight_configuration_data[config_oid][\"domains_temp\"][domain_oid][\n",
" \"extraction_rulesets\"\n",
" ] = temp_extraction_rulesets"
]
},
{
Expand Down

0 comments on commit ccedd54

Please sign in to comment.