lib/oddb2xml/cli.rb in oddb2xml-1.2.1 vs lib/oddb2xml/cli.rb in oddb2xml-1.2.2
- old
+ new
@@ -172,10 +172,10 @@
end
raise Interrupt
end
end
def compress
- compressor = Compressor.new(prefix, @options[:compress_ext])
+ compressor = Compressor.new(prefix, @options)
files.values.each do |file|
if File.exists?(file)
compressor.contents << file
end
end