mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
return from Downloader::init() immediately after login
This commit is contained in:
parent
dd35019c45
commit
8e1c6f81e4
@ -66,10 +66,7 @@ int Downloader::init()
|
|||||||
progressbar = new ProgressBar(!config.bNoUnicode, !config.bNoColor);
|
progressbar = new ProgressBar(!config.bNoUnicode, !config.bNoColor);
|
||||||
|
|
||||||
if (config.bLogin || !gogAPI->init())
|
if (config.bLogin || !gogAPI->init())
|
||||||
{
|
return this->login();
|
||||||
if (this->login())
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!config.bNoCover && config.bDownload && !config.bUpdateCheck)
|
if (!config.bNoCover && config.bDownload && !config.bUpdateCheck)
|
||||||
coverXML = this->getResponse("https://sites.google.com/site/gogdownloader/GOG_covers_v2.xml");
|
coverXML = this->getResponse("https://sites.google.com/site/gogdownloader/GOG_covers_v2.xml");
|
||||||
|
Loading…
Reference in New Issue
Block a user