mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Fix error with login when cookies don't exist but API login works
This commit is contained in:
parent
c3916b2c9a
commit
e8a8b1dd5f
@ -82,7 +82,7 @@ int Downloader::init()
|
||||
progressbar = new ProgressBar(config.bUnicode, config.bColor);
|
||||
|
||||
bool bInitOK = gogAPI->init(); // Initialize the API
|
||||
if (!bInitOK)
|
||||
if (!bInitOK || config.bLogin)
|
||||
return 1;
|
||||
|
||||
if (config.bCover && config.bDownload && !config.bUpdateCheck)
|
||||
|
Loading…
x
Reference in New Issue
Block a user