Fixed BitMeTV login, fixed failed login callback failing if async

This commit is contained in:
unknown
2015-08-02 11:28:59 -06:00
parent 394519e779
commit 478c41fed6
28 changed files with 51 additions and 37 deletions

View File

@@ -312,18 +312,6 @@ namespace Jackett.Indexers
return response;
}
protected void ConfigureIfOK(string cookies, bool isLoggedin, Action onError)
{
if (isLoggedin)
{
cookieHeader = cookies;
SaveCookieHeaderAndConfigure();
} else
{
onError();
}
}
protected async Task ConfigureIfOK(string cookies, bool isLoggedin, Func<Task> onError)
{
if (isLoggedin)