Allow combining -n with -c or -a (related to #90)
This allows fetching "all" comics (or catch up until the last existing one) while setting an upper bound on how many pages to fetch at the same time.
This commit is contained in:
parent
4d2fac1a9c
commit
f5a5106381
1 changed files with 3 additions and 3 deletions
|
@ -95,10 +95,10 @@ class ComicGetter(threading.Thread):
|
||||||
|
|
||||||
def _getStrips(self, scraperobj):
|
def _getStrips(self, scraperobj):
|
||||||
"""Get all strips from a scraper."""
|
"""Get all strips from a scraper."""
|
||||||
if self.options.all or self.options.cont:
|
if self.options.numstrips:
|
||||||
numstrips = None
|
|
||||||
elif self.options.numstrips:
|
|
||||||
numstrips = self.options.numstrips
|
numstrips = self.options.numstrips
|
||||||
|
elif self.options.cont or self.options.all:
|
||||||
|
numstrips = None
|
||||||
else:
|
else:
|
||||||
# get current strip
|
# get current strip
|
||||||
numstrips = 1
|
numstrips = 1
|
||||||
|
|
Loading…
Reference in a new issue