Add missing base URL

This commit is contained in:
Thomas Wade 2020-04-21 17:01:21 +09:30
parent 49d5689aa6
commit 345c95a477

View File

@ -229,4 +229,4 @@ class Submission:
self._fave_url = FAAPI.FA_BASE_URL + soup.select('.fav a')[0].get('href') self._fave_url = FAAPI.FA_BASE_URL + soup.select('.fav a')[0].get('href')
def __str__(self): def __str__(self):
return '{} - {} ({}/view/{})'.format(self.author, self.title, self.url) return '{} - {} ({}/view/{})'.format(self.author, self.title, FAAPI.FA_BASE_URL, self.url)