lint the file

somehow I did not notice this on save
This commit is contained in:
Sam Saffron 2019-05-23 15:28:41 +10:00
parent a5ce9cb470
commit 7ce58df7bf
1 changed files with 2 additions and 2 deletions

View File

@ -943,8 +943,8 @@ def inline_img_tags(post)
if !upload
local_file = File.join(Rails.root, "public", $2)
if File.exist?(local_file)
File.open(local_file) do |f|
upload = UploadCreator.new(f,"image").create_for(post.user_id)
File.open(local_file) do |f|
upload = UploadCreator.new(f, "image").create_for(post.user_id)
end
end
end