Pārlūkot izejas kodu

Bugfix for councils that don't have this column

tags/v0.4.5
Adrian Short pirms 6 gadiem
vecāks
revīzija
5e166c3d34
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      lib/uk_planning_scraper/northgate.rb

+ 1
- 1
lib/uk_planning_scraper/northgate.rb Parādīt failu

@@ -121,7 +121,7 @@ module UKPlanningScraper
app[:date_received] = nil
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
end
end


Notiek ielāde…
Atcelt
Saglabāt