mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 17:02:43 +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:
|
||||
self.numChapters = '1'
|
||||
logging.debug('self.numChapters=%s' % self.numChapters)
|
||||
result.append((self.url,self.storyName))
|
||||
logging.debug('Chapter[%s]=%s %s' % (ii, self.url, self.storyName))
|
||||
else:
|
||||
|
|
@ -209,9 +210,6 @@ class FicWad(FanfictionSiteAdapter):
|
|||
else:
|
||||
logging.debug('Skipping Story Index. URL %s' % url)
|
||||
|
||||
self.numChapters = str(ii)
|
||||
logging.debug('self.numChapters=%s' % self.numChapters)
|
||||
|
||||
return result
|
||||
|
||||
def getText(self, url):
|
||||
|
|
|
|||
Loading…
Reference in a new issue