Remove useless indirection.

This commit is contained in:
Tobias Gruetzmacher 2016-04-15 23:42:24 +02:00
parent 52515b5fc5
commit 92a688457a

View file

@ -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/'