Adjust Article repr so it's easier to look at while debugging.

This commit is contained in:
Ethan Dalool 2020-03-23 13:25:27 -07:00
parent c323511eee
commit ec250efd2d

View file

@ -146,8 +146,8 @@ class Article:
self.tags = [a['data-qualname'] for a in tag_links]
def __str__(self):
return f'Article({self.md_file.absolute_path})'
def __repr__(self):
return f'Article:{self.title}'
ARTICLES = {
file: Article(file)