lib/inspector.rb in pirate-autonzb-0.5.0 vs lib/inspector.rb in pirate-autonzb-0.5.1

- old
+ new

@@ -23,14 +23,11 @@ @movies = @nzbs + @movies end $stdout.print "Movie criteria: imdb score >= #{@options[:imdb_score]}, year >= #{@options[:year]}#{" and srt [#{@options[:srt].join(',')}]" if @options[:srt]}\n" - if @options[:login] && @options[:pass] - Nzbs::NZB.new(self, download_path, @options) - else - Newzleech::NZB.new(self, download_path, @options) - end + Nzbs::NZB.new(self, download_path, @options) if @options[:login] && @options[:pass] + Newzleech::NZB.new(self, download_path, @options) keep_only_best_nzb if @backup_path end def need?(movie, not_validate = false, movies = @movies, log = true) \ No newline at end of file