lib/inspector.rb in pirate-autonzb-0.4.3 vs lib/inspector.rb in pirate-autonzb-0.4.4
- old
+ new
@@ -5,12 +5,10 @@
attr_accessor :backup_path, :movies, :nzbs
def initialize(paths, options = {})
@paths = paths.split(',').map { |p| p.gsub(/\/$/,'') }
@options = options
- p @options[:srt]
@options[:srt] = @options[:srt] ? (@options[:srt].split(',') - ["unknown"] + ['unknown']).uniq : nil
- p @options[:srt]
@options[:imdb_score] = @options[:imdb_score] ? @options[:imdb_score].to_f : 7.0
@options[:year] = @options[:year] ? @options[:year].to_i : 1950
@movies = []
initialize_movies
\ No newline at end of file