Clarify if assignement condition

This commit is contained in:
Tom Ward 2016-03-27 15:59:19 -05:00 committed by hartator
parent 2f7c614920
commit 238924477b

View File

@ -27,7 +27,7 @@ option_parser = OptionParser.new do |opts|
end
end.parse!
if base_url = ARGV[-1]
if (base_url = ARGV[-1])
wayback_machine_downloader = WaybackMachineDownloader.new base_url: base_url, timestamp: options[:timestamp], only_filter: options[:only_filter]
wayback_machine_downloader.download_files
elsif options[:version]