SaveConfig() after IsConfigured

This commit is contained in:
kaso17 2017-05-06 19:39:02 +02:00
parent 9d6d5265e2
commit 6b35da8ad0
10 changed files with 10 additions and 10 deletions

View File

@ -135,8 +135,8 @@ namespace Jackett.Indexers
{
configData.CookieHeader.Value = jsonConfig.Value<string>("cookies");
configData.IncludeRaw.Value = jsonConfig.Value<bool>("raws");
SaveConfig();
IsConfigured = true;
SaveConfig();
return;
}

View File

@ -540,8 +540,8 @@ namespace Jackett.Indexers
if (isLoggedin)
{
CookieHeader = cookies;
SaveConfig();
IsConfigured = true;
SaveConfig();
}
else
{

View File

@ -915,8 +915,8 @@ namespace Jackett.Indexers
await DoLogin();
await TestLogin();
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}

View File

@ -123,8 +123,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -125,8 +125,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -128,8 +128,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -169,8 +169,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -128,8 +128,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -142,8 +142,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)

View File

@ -89,8 +89,8 @@ namespace Jackett.Indexers
throw new Exception("Your cookie did not work");
}
SaveConfig();
IsConfigured = true;
SaveConfig();
return IndexerConfigurationStatus.Completed;
}
catch (Exception e)