mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Don't consider blacklisted files to be orphaned
This commit is contained in:
parent
1ebbb81b07
commit
cc44c35aaa
@ -1755,6 +1755,9 @@ void Downloader::checkOrphans()
|
|||||||
if (config.ignorelist.isBlacklisted(filepath.substr(pathlen))) {
|
if (config.ignorelist.isBlacklisted(filepath.substr(pathlen))) {
|
||||||
if (config.iMsgLevel >= MSGLEVEL_VERBOSE)
|
if (config.iMsgLevel >= MSGLEVEL_VERBOSE)
|
||||||
std::cerr << "skipped ignorelisted file " << filepath << std::endl;
|
std::cerr << "skipped ignorelisted file " << filepath << std::endl;
|
||||||
|
} else if (config.blacklist.isBlacklisted(filepath.substr(pathlen))) {
|
||||||
|
if (config.iMsgLevel >= MSGLEVEL_VERBOSE)
|
||||||
|
std::cerr << "skipped blacklisted file " << filepath << std::endl;
|
||||||
} else {
|
} else {
|
||||||
boost::regex expression(config.sOrphanRegex); // Limit to files matching the regex
|
boost::regex expression(config.sOrphanRegex); // Limit to files matching the regex
|
||||||
boost::match_results<std::string::const_iterator> what;
|
boost::match_results<std::string::const_iterator> what;
|
||||||
|
Loading…
Reference in New Issue
Block a user