From e8a8b1dd5ff69fe0a1618b92bd7f71853d852664 Mon Sep 17 00:00:00 2001 From: Sude Date: Sun, 17 May 2015 18:53:47 +0300 Subject: [PATCH] Fix error with login when cookies don't exist but API login works --- src/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloader.cpp b/src/downloader.cpp index f25d0e6..7574059 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -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)