Cleanup extra temp file
This commit is contained in:
parent
13b57f2cb3
commit
b40581c4e8
@ -42,6 +42,7 @@ defmodule Pleroma.Upload.Filter.HeifToJpeg do
|
||||
|> Mogrify.format("jpg")
|
||||
|> Mogrify.save()
|
||||
|
||||
File.rm!(with_extension)
|
||||
File.rename!(converted, tempfile)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user