Permalink
Browse files

Moved config files to ./config

  • Loading branch information...
1 parent a2f38c8 commit 399e0360dbcc9a15ceef4f3097ad6d8d7eb77122 @ndbroadbent committed Mar 17, 2011
File renamed without changes.
File renamed without changes.
View
@@ -16,7 +16,7 @@ def relative(filename)
# Load $config.
$config = YAML.load_file(relative("config/config.yml"))
-$users = YAML.load_file(relative("authorized_users.yml"))
+$users = YAML.load_file(relative("config/authorized_users.yml"))
SwitchChannel = $config["SwitchChannel"]
GreenChannel = $config["GreenChannel"]
@@ -101,7 +101,7 @@ def shellfm_trigger(name)
# (and if the time is reasonable.)
time = hk_time
if time.hour >= 7 and time.hour <= 22
- if radio_prefs = YAML.load_file(relative("user_radio_prefs.yml"))
+ if radio_prefs = YAML.load_file(relative("config/user_radio_prefs.yml"))
if stations = radio_prefs[name]
# Pick a random station, and play it.
station = stations[rand(stations.size)]

0 comments on commit 399e036

Please sign in to comment.