Fixed an issue where an unparsable item could break the parser.

This commit is contained in:
kay.one 2012-01-19 23:08:05 -08:00
commit b6d43273cf
2 changed files with 18 additions and 1 deletions

View file

@ -77,7 +77,10 @@ namespace NzbDrone.Core
result = ParseTitle(fileInfo.FullName);
}
result.OriginalString = path;
if (result != null)
{
result.OriginalString = path;
}
return result;
}