Unwrapped OpenRead and CopyFile

This commit is contained in:
Erwin de Haan
2019-01-26 22:31:59 +01:00
parent d7c6d16250
commit a430568082
25 changed files with 35 additions and 34 deletions

View File

@@ -107,7 +107,7 @@ namespace Emby.Server.Implementations.Serialization
public object DeserializeFromFile(Type type, string file)
{
_logger.LogDebug("Deserializing file {0}", file);
using (var stream = _fileSystem.OpenRead(file))
using (var stream = File.OpenRead(file))
{
return DeserializeFromStream(type, stream);
}