Merge pull request #270 from pol0nium/master

Fix in example_recursive
This commit is contained in:
Alexander Simonov 2016-01-22 11:52:53 +02:00
commit 088f44a233
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class ZipFileGenerator
def put_into_archive(disk_file_path, io, zip_file_path)
io.get_output_stream(zip_file_path) do |f|
f.puts(File.open(disk_file_path, 'rb').read)
f.write(File.open(disk_file_path, 'rb').read)
end
end
end