mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed some broken tests
This commit is contained in:
parent
e43cb87620
commit
b1e772d852
2 changed files with 10 additions and 2 deletions
|
@ -53,7 +53,15 @@ namespace NzbDrone.Core.Tv
|
|||
//Todo: Use this to auto link RootFolder and Folder (using the proper path separator)
|
||||
public string Path
|
||||
{
|
||||
get { return System.IO.Path.Combine(RootFolder.Value.Path, FolderName); }
|
||||
get
|
||||
{
|
||||
if (RootFolder == null || RootFolder.Value == null || String.IsNullOrWhiteSpace(RootFolder.Value.Path))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return System.IO.Path.Combine(RootFolder.Value.Path, FolderName);
|
||||
}
|
||||
}
|
||||
|
||||
//Todo: This should be a double since there are timezones that aren't on a full hour offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue