mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Cleaned up some unused code and a bit more exception handling for GetDirectories.
This commit is contained in:
parent
50e91c0043
commit
d3f6c685cd
2 changed files with 4 additions and 10 deletions
|
@ -213,13 +213,5 @@ namespace NzbDrone.Web.Controllers
|
|||
|
||||
return episodes;
|
||||
}
|
||||
|
||||
private string GetSeasonString(int seasonNumber)
|
||||
{
|
||||
if (seasonNumber == 0)
|
||||
return "Specials";
|
||||
|
||||
return String.Format("Season #{0}", seasonNumber);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue