Minor fix for using pathes to pick comics

This commit is contained in:
Dirk Reiners 2014-10-24 16:39:40 -05:00
parent 731291979d
commit 77a5e09c10

View file

@ -220,7 +220,7 @@ def getScrapers(comics, basepath=None, adult=True, multiple_allowed=False):
scrapers = set() scrapers = set()
for comic in comics: for comic in comics:
# Helpful when using shell completion to pick comics to get # Helpful when using shell completion to pick comics to get
comic.rstrip(os.path.sep) comic = comic.rstrip(os.path.sep)
if basepath and comic.startswith(basepath): if basepath and comic.startswith(basepath):
# make the following command work: # make the following command work:
# find Comics -type d | xargs -n1 -P10 dosage -b Comics # find Comics -type d | xargs -n1 -P10 dosage -b Comics