mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 12:58:28 +01:00
Unwrapped OpenRead and CopyFile
This commit is contained in:
@@ -300,7 +300,7 @@ namespace Emby.Server.Implementations.Images
|
||||
var ext = Path.GetExtension(image);
|
||||
|
||||
var outputPath = Path.ChangeExtension(outputPathWithoutExtension, ext);
|
||||
FileSystem.CopyFile(image, outputPath, true);
|
||||
File.Copy(image, outputPath, true);
|
||||
|
||||
return outputPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user