lib/tinynews.rb in tinynews-1.0.2 vs lib/tinynews.rb in tinynews-1.0.3
- old
+ new
@@ -23,10 +23,10 @@
def self.sources_from_home
source_file = File.expand_path('~/.tinynews.yml')
unless File.file?( source_file )
File.open( source_file, "w") do |f|
- f.write( File.open("./sources.yml", "r").read )
+ f.write( File.open("../sources.yml", "r").read )
end
end
f = open(source_file, "r").read
YAML::load( f )
end