Commit e68b2244 authored by hh1966's avatar hh1966
Browse files

Fix string interpolation

parent 63a97c13
Pipeline #45269 canceled with stage
......@@ -401,7 +401,7 @@ module Chemotion
FileUtils.mkdir_p(import_path) unless Dir.exist?(import_path)
# store the file as `tmp/imports/<import_id>.zip`
zip_file_path = File.join('tmp', 'import', '#{import_id}.zip')
zip_file_path = File.join('tmp', 'import', "#{import_id}.zip")
File.open(zip_file_path, 'wb') do |file|
file.write(params[:file][:tempfile].read)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment