mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
delete json.bak when removing indexer. resolves #5692
This commit is contained in:
@@ -35,6 +35,11 @@ namespace Jackett.Common.Services
|
||||
{
|
||||
var configFilePath = GetIndexerConfigFilePath(indexer);
|
||||
File.Delete(configFilePath);
|
||||
var configFilePathBak = configFilePath + ".bak";
|
||||
if (File.Exists(configFilePathBak))
|
||||
{
|
||||
File.Delete(configFilePathBak);
|
||||
}
|
||||
}
|
||||
|
||||
public void Load(IIndexer idx)
|
||||
|
Reference in New Issue
Block a user