Skip to content

Commit

Permalink
do never delete archives after download
Browse files Browse the repository at this point in the history
never delete the directory in any case because some other pdf converter probably can read the files. And it fixes issue #7.
  • Loading branch information
RobTranquillo committed Oct 10, 2015
1 parent d238944 commit 3e37475
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/scrape.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def self.scrape_session(session_url, session_path)
rescue Exception => e
puts e.message
puts e.backtrace
FileUtils.rm_rf(session_path)
ensure
tmp_file.unlink if tmp_file.is_a? File
end
Expand Down

0 comments on commit 3e37475

Please sign in to comment.