Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#879 write contents to file using correct attribute

  • Loading branch information...
commit 009501cb59b80c2113c29ae33607e52849acec44 1 parent 215ff14
@mfrederickson mfrederickson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/concerto/content_converter.rb
View
2  lib/concerto/content_converter.rb
@@ -65,7 +65,7 @@ def self.convert(media)
original_media = media[0]
original_filepath = File.join("/tmp", original_media.file_name)
File.open(original_filepath, 'wb') do |f|
- f.write original_media.file_data
+ f.write original_media.file_contents
end
# process it with docsplit
Please sign in to comment.
Something went wrong with that request. Please try again.