Fixed db issue

This commit is contained in:
Jamie.Rees 2016-12-21 08:18:08 +00:00
parent 6300c98bb7
commit 5822505189

View file

@ -51,15 +51,19 @@ namespace Ombi.Store
{
get
{
if (!string.IsNullOrEmpty(_currentPath))
{
return _currentPath;
}
if (File.Exists(OldPath))
{
_currentPath = OldPath;
return _currentPath;
}
if (File.Exists(NewCurrentPath))
{
_currentPath = NewCurrentPath;
}
_currentPath = NewCurrentPath;
return _currentPath;
}