diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-26 21:47:11 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-28 22:06:34 +0100 |
| commit | 3a831994f69bbde699a1a725b57d8fd1d7e98641 (patch) | |
| tree | 2636e4575117c6cc90ad3b57ff4ce02f63fae3ba /Emby.IsoMounting | |
| parent | a05d803d4c188e3bc6ae22e5be907f74eec271bf (diff) | |
Unwrapped GetDirectoryName and DirectorySeperatorChar
Diffstat (limited to 'Emby.IsoMounting')
| -rw-r--r-- | Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs index ac486f167..611e4263c 100644 --- a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs +++ b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs @@ -39,7 +39,7 @@ namespace IsoMounter _logger = logger; ProcessFactory = processFactory; - MountPointRoot = FileSystem.DirectorySeparatorChar + "tmp" + FileSystem.DirectorySeparatorChar + "Emby"; + MountPointRoot = Path.DirectorySeparatorChar + "tmp" + Path.DirectorySeparatorChar + "Emby"; _logger.LogDebug( "[{0}] System PATH is currently set to [{1}].", @@ -216,7 +216,7 @@ namespace IsoMounter if (!string.IsNullOrEmpty(path) && FileSystem.FileExists(path = Path.Combine(path, name))) { - return FileSystem.GetFullPath(path); + return Path.GetFullPath(path); } } |
