summaryrefslogtreecommitdiff
path: root/fill-db.rb
diff options
context:
space:
mode:
Diffstat (limited to 'fill-db.rb')
-rwxr-xr-xfill-db.rb2
1 files changed, 1 insertions, 1 deletions
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 = {}