Remove useless indirection.
This commit is contained in:
parent
52515b5fc5
commit
92a688457a
1 changed files with 1 additions and 5 deletions
|
@ -167,7 +167,7 @@ class Scraper(object):
|
||||||
self.starter()
|
self.starter()
|
||||||
urls = [self.getIndexStripUrl(index) for index in self.indexes]
|
urls = [self.getIndexStripUrl(index) for index in self.indexes]
|
||||||
else:
|
else:
|
||||||
urls = [self.getLatestUrl()]
|
urls = [self.starter()]
|
||||||
if self.adult:
|
if self.adult:
|
||||||
msg += u" (including adult content)"
|
msg += u" (including adult content)"
|
||||||
out.info(msg)
|
out.info(msg)
|
||||||
|
@ -260,10 +260,6 @@ class Scraper(object):
|
||||||
"""
|
"""
|
||||||
return imageUrl
|
return imageUrl
|
||||||
|
|
||||||
def getLatestUrl(self):
|
|
||||||
"""Get starter URL from where to scrape comic strips."""
|
|
||||||
return self.starter()
|
|
||||||
|
|
||||||
def vote(self):
|
def vote(self):
|
||||||
"""Cast a public vote for this comic."""
|
"""Cast a public vote for this comic."""
|
||||||
url = configuration.VoteUrl + 'count/'
|
url = configuration.VoteUrl + 'count/'
|
||||||
|
|
Loading…
Reference in a new issue