self.numChapters was one too many.

This commit is contained in:
wsuetholz 2010-11-11 13:22:30 -06:00
parent 35065593af
commit b51dd549f5

View file

@ -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):