From b51dd549f5b807e61f94ae93a0303560d8edf79a Mon Sep 17 00:00:00 2001 From: wsuetholz Date: Thu, 11 Nov 2010 13:22:30 -0600 Subject: [PATCH] self.numChapters was one too many. --- ficwad.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ficwad.py b/ficwad.py index ddac91a8..7e9f3ae8 100644 --- a/ficwad.py +++ b/ficwad.py @@ -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):