Verify disk scan won't scan if root folder doesn't exist

This commit is contained in:
Mark McDowall 2014-07-24 18:02:47 -07:00
parent 638c149b62
commit 08b2e293d3
4 changed files with 48 additions and 5 deletions

View file

@ -168,9 +168,9 @@ namespace NzbDrone.Core.Configuration
{
get
{
var urlBase = GetValue("UrlBase", "");
var urlBase = GetValue("UrlBase", "").Trim('/');
if (String.IsNullOrEmpty(urlBase))
if (urlBase.IsNullOrWhiteSpace())
{
return urlBase;
}