1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-23 14:51:01 +00:00

delete json.bak when removing indexer. resolves #5692

This commit is contained in:
Garfield69 2019-08-26 19:05:25 +12:00
parent 78e705ee23
commit 1682767b37

View file

@ -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)