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

master
Ethan Dalool 2020-03-23 13:25:27 -07:00
parent c323511eee
commit ec250efd2d
1 changed files with 2 additions and 2 deletions

View File

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