speedprofiles specifically for testing

This commit is contained in:
Emil Tin
2012-05-05 17:05:55 +02:00
parent a394973762
commit 580a760aa1
5 changed files with 63 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ end
def read_speedprofile profile
@speedprofile = {}
@speedprofile_str = nil
s = File.read "speedprofiles/#{profile}.ini"
s = File.read "test/speedprofiles/#{profile}.ini"
s.scan /(.*)=(.*)/ do |option|
@speedprofile[option[0].strip] = option[1].strip
end