lib/wmap/wp_tracker.rb in wmap-2.6.7 vs lib/wmap/wp_tracker.rb in wmap-2.6.8

- old
+ new

@@ -34,10 +34,10 @@ File.write(@sites_wp, "") unless File.exist?(@sites_wp) load_from_file(@sites_wp) end # 'setter' to load the known wordpress sites into an instance variable - def load_from_file (file=@file_stores, lc=true) + def load_from_file (file=@sites_wp, lc=true) puts "Loading trusted file: #{file}" if @verbose @known_wp_sites=Hash.new f_wp_sites=File.open(file, 'r') f_wp_sites.each_line do |line| puts "Processing line: #{line}" if @verbose