瀏覽代碼

Bugfix

tags/v0.4.5
Adrian Short 6 年之前
父節點
當前提交
9f10e4ec8a
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. +0
    -3
      lib/uk_planning_scraper.rb

+ 0
- 3
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


Loading…
取消
儲存