Remove empty folders after importing new downloads.

Fixed American Dad test (new season added to TheTvDb).
Removed unneeded .ToList()
This commit is contained in:
Mark McDowall 2011-06-25 19:50:18 -07:00
parent d2a0e315b2
commit 87e9589761
3 changed files with 6 additions and 2 deletions

View file

@ -54,7 +54,7 @@ namespace NzbDrone.Web.Controllers
{
Path = r.Path,
CleanPath = r.Path.Replace(Path.DirectorySeparatorChar, '|').Replace(Path.VolumeSeparatorChar, '^').Replace('\'', '`')
}).ToList();
});
ViewData["RootDirs"] = rootDirs;
ViewData["DirSep"] = Path.DirectorySeparatorChar.ToString().Replace(Path.DirectorySeparatorChar, '|');