Fixed db issue

pull/843/head
Jamie.Rees 8 years ago
parent 6300c98bb7
commit 5822505189

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

Loading…
Cancel
Save