lib/oddb2xml/cli.rb in oddb2xml-1.7.9 vs lib/oddb2xml/cli.rb in oddb2xml-1.8.0
- old
+ new
@@ -236,11 +236,11 @@
Thread.new do
downloader = ZurroseDownloader.new(@options, @options[:transfer_dat])
xml = downloader.download
@mutex.synchronize do
hsh = ZurroseExtractor.new(xml, @options[:extended]).to_hash
- @items = hsh if @options[:extended]
@prices = hsh
+ Oddb2xml.log("zurrose added #{@prices.size} prices")
end
end
when :index
Thread.new do
downloader = SwissIndexDownloader.new(@options, type, lang)