diff options
author | pks <pks@pks.rocks> | 2021-05-01 06:16:19 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-05-01 06:16:19 +0200 |
commit | 63fbf0f3aadb4b6d037a8164b501fe836d9c361d (patch) | |
tree | a33240dfd9ad5c57f283e942514bb8ce67d71085 /fill-db.rb | |
parent | 00fdbd489494c917865cf3fbf153e5751052e2d1 (diff) |
v1
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 = {} |