mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Fixed db issue
This commit is contained in:
parent
6300c98bb7
commit
5822505189
1 changed files with 8 additions and 4 deletions
|
@ -51,15 +51,19 @@ namespace Ombi.Store
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(_currentPath))
|
||||||
|
{
|
||||||
|
return _currentPath;
|
||||||
|
}
|
||||||
|
|
||||||
if (File.Exists(OldPath))
|
if (File.Exists(OldPath))
|
||||||
{
|
{
|
||||||
_currentPath = OldPath;
|
_currentPath = OldPath;
|
||||||
|
return _currentPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (File.Exists(NewCurrentPath))
|
|
||||||
{
|
|
||||||
_currentPath = NewCurrentPath;
|
_currentPath = NewCurrentPath;
|
||||||
}
|
|
||||||
|
|
||||||
return _currentPath;
|
return _currentPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue