From 9f10e4ec8ab03a68afe4df4af0cf84f0206d2b55 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 18 Sep 2018 14:00:36 +0100 Subject: [PATCH] Bugfix --- lib/uk_planning_scraper.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/uk_planning_scraper.rb b/lib/uk_planning_scraper.rb index a1be9e6..93f132e 100644 --- a/lib/uk_planning_scraper.rb +++ b/lib/uk_planning_scraper.rb @@ -15,7 +15,6 @@ module UKPlanningScraper if params[:validated_days] params[:validated_to] = Date.today params[:validated_from] = Date.today - (params[:validated_days] - 1) - params[:validated_days].delete end # Received within the last n days @@ -23,7 +22,6 @@ module UKPlanningScraper if params[:received_days] params[:received_to] = Date.today params[:received_from] = Date.today - (params[:received_days] - 1) - params[:received_days].delete end # Decided within the last n days @@ -31,7 +29,6 @@ module UKPlanningScraper if params[:decided_days] params[:decided_to] = Date.today params[:decided_from] = Date.today - (params[:decided_days] - 1) - params[:decided_days].delete end # Select which scraper to use based on the URL