Summary __repr__ tuple index out of range
HJTP opened this issue · 1 comments
HJTP commented
Hi,
The repr of the Summary class features a formatting string containing {0} up to {4}, whereas the tuple only provides four items. This results in an IndexEror.
def __repr__(self):
return 'Summary({0}, {1}, {2}, {3}, {4})'.format(
repr(self.url), repr(self.article_html), repr(self.title), repr(self.summaries)
)vgel commented
Should be fixed.