mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
self.numChapters was one too many.
This commit is contained in:
parent
35065593af
commit
b51dd549f5
1 changed files with 1 additions and 3 deletions
|
|
@ -193,6 +193,7 @@ class FicWad(FanfictionSiteAdapter):
|
||||||
|
|
||||||
if select is None:
|
if select is None:
|
||||||
self.numChapters = '1'
|
self.numChapters = '1'
|
||||||
|
logging.debug('self.numChapters=%s' % self.numChapters)
|
||||||
result.append((self.url,self.storyName))
|
result.append((self.url,self.storyName))
|
||||||
logging.debug('Chapter[%s]=%s %s' % (ii, self.url, self.storyName))
|
logging.debug('Chapter[%s]=%s %s' % (ii, self.url, self.storyName))
|
||||||
else:
|
else:
|
||||||
|
|
@ -209,9 +210,6 @@ class FicWad(FanfictionSiteAdapter):
|
||||||
else:
|
else:
|
||||||
logging.debug('Skipping Story Index. URL %s' % url)
|
logging.debug('Skipping Story Index. URL %s' % url)
|
||||||
|
|
||||||
self.numChapters = str(ii)
|
|
||||||
logging.debug('self.numChapters=%s' % self.numChapters)
|
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def getText(self, url):
|
def getText(self, url):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue