mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Moved duplicated NormalizePath method to PathExtentions
This commit is contained in:
parent
95d1832379
commit
6778a6ed99
9 changed files with 54 additions and 60 deletions
|
@ -72,7 +72,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
foreach (string seriesFolder in _diskProvider.GetDirectories(path))
|
||||
{
|
||||
var cleanPath = Parser.NormalizePath(new DirectoryInfo(seriesFolder).FullName);
|
||||
var cleanPath = new DirectoryInfo(seriesFolder).FullName.NormalizePath();
|
||||
|
||||
if (!_seriesProvider.SeriesPathExists(cleanPath))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue