Make xargs example actually work
This commit is contained in:
parent
e739eb7992
commit
db4b6282b2
1 changed files with 2 additions and 0 deletions
2
dosage
2
dosage
|
@ -294,6 +294,8 @@ def getScrapers(comics, basepath=None, adult=True, multiple_allowed=False):
|
|||
# store them in an ordered set to eliminate duplicates
|
||||
scrapers = OrderedDict()
|
||||
for comic in comics:
|
||||
if basepath and comic.startswith(basepath):
|
||||
comic = comic[len(basepath):].lstrip("/")
|
||||
if ':' in comic:
|
||||
name, index = comic.split(':', 1)
|
||||
indexes = index.split(',')
|
||||
|
|
Loading…
Reference in a new issue