Browse Source

Bugfix for councils that don't have this column

tags/v0.4.5
Adrian Short 6 years ago
parent
commit
5e166c3d34
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/uk_planning_scraper/northgate.rb

+ 1
- 1
lib/uk_planning_scraper/northgate.rb View File

@@ -121,7 +121,7 @@ module UKPlanningScraper
app[:date_received] = nil app[:date_received] = nil
end end
app[:decision] = cells[5].inner_text.strip
app[:decision] = cells[5].inner_text.strip if cells[5] # Some councils don't have this column, eg Hackney
apps << app apps << app
end end
end end


Loading…
Cancel
Save