diff options
Diffstat (limited to 'fill-db.rb')
-rwxr-xr-x | fill-db.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = {} |