lib/kindai/interface.rb in kindai-1.5.1 vs lib/kindai/interface.rb in kindai-1.6.0
- old
+ new
@@ -11,9 +11,10 @@
downloader.retry_count = config[:retry_count] if config[:retry_count]
Kindai::Util.logger.info "download #{book.title}(#{book.total_spread} spreads) to #{downloader.book_path}"
downloader.download
publisher = Kindai::Publisher.new_from_path downloader.book_path
+ publisher.book = book
publisher.publish_auto
end
def self.download_keyword(keyword, config = { })
searcher = Kindai::Searcher.search(keyword)