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()
urls = [self.getIndexStripUrl(index) for index in self.indexes]
else:
urls = [self.getLatestUrl()]
urls = [self.starter()]
if self.adult:
msg += u" (including adult content)"
out.info(msg)
@ -260,10 +260,6 @@ class Scraper(object):
"""
return imageUrl
def getLatestUrl(self):
"""Get starter URL from where to scrape comic strips."""
return self.starter()
def vote(self):
"""Cast a public vote for this comic."""
url = configuration.VoteUrl + 'count/'