diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-02-05 23:28:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-05 23:28:00 +0100 |
| commit | d5fcca3d052128543be3750ce2ae934662a0611b (patch) | |
| tree | c77c8df888ba6f335caf3e0c88bd5824b2c84852 /Emby.Server.Implementations/Devices/DeviceManager.cs | |
| parent | dc62e436c43362f2193415f4c81280c6c1a8560c (diff) | |
| parent | e8984ed3a9218ff6e37e798e0a2b5cdc4a09240c (diff) | |
Merge branch 'master' into naming
Diffstat (limited to 'Emby.Server.Implementations/Devices/DeviceManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index ef7317050..2bd0b840a 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -243,7 +243,7 @@ namespace Emby.Server.Implementations.Devices try { - using (var fs = _fileSystem.GetFileStream(path, FileOpenMode.Create, FileAccessMode.Write, FileShareMode.Read)) + using (var fs = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read)) { await stream.CopyToAsync(fs).ConfigureAwait(false); } |
