From c54cacc97e669c7465668bae6a9536a1ec23c62d Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 26 Mar 2013 17:28:36 +0100 Subject: [PATCH] Only warn on selected comics. --- dosage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dosage b/dosage index 252a19a78..aeaf0f879 100755 --- a/dosage +++ b/dosage @@ -287,11 +287,11 @@ def getScrapers(comics, basepath=None, adult=True, multiple_allowed=False): if len(comics) > 1: out.warn("using '@' as comic name ignores all other specified comics.") for scraperclass in scraper.get_scraperclasses(): - if not adult and scraperclass.adult: - warn_adult(scraperclass) - continue dirname = getDirname(scraperclass.getName()) if os.path.isdir(os.path.join(basepath, dirname)): + if not adult and scraperclass.adult: + warn_adult(scraperclass) + continue yield scraperclass() elif '@@' in comics: # all scrapers