mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Fix blacklisted file causing downloader to skip a game
Incorrect check for blacklisted file caused the downloader to skip a game instead of skipping just one file
This commit is contained in:
parent
027b25a5e8
commit
4582884a0d
@ -637,12 +637,6 @@ void Downloader::download()
|
||||
{
|
||||
// Take path from installer path because for some games the base directory for installer/extra path is not "gamename"
|
||||
std::string filepath = Util::makeFilepath(config.sDirectory, games[i].installers[0].path, games[i].gamename);
|
||||
if (config.blacklist.isBlacklisted(games[i].installers[0].path, games[i].gamename))
|
||||
{
|
||||
if (config.bVerbose)
|
||||
std::cout << "skipped blacklisted file " << filepath << std::endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Get base directory from filepath
|
||||
boost::match_results<std::string::const_iterator> what;
|
||||
|
Loading…
Reference in New Issue
Block a user