From 63fbf0f3aadb4b6d037a8164b501fe836d9c361d Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 1 May 2021 06:16:19 +0200 Subject: v1 --- fill-db.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fill-db.rb') diff --git a/fill-db.rb b/fill-db.rb index c4fa513..1bfc0f2 100755 --- a/fill-db.rb +++ b/fill-db.rb @@ -17,7 +17,7 @@ wind_conv = {"chill"=>float, "temperature"=>float,"average_speed"=>float,"direct temp_conv = {"humidity"=>float, "humidity_status"=>str,"humidity_status_numeric"=>int,"temperature"=>float}.merge(common_conv) conv = { "rain" => rain_conv, "wind" => wind_conv, "temp" => temp_conv } -$db = SQLite3::Database.new("weather.db") +$db = SQLite3::Database.new("db/weather.db") def parse_to_hash s, conv h = {} -- cgit v1.2.3