Adjust Article repr so it's easier to look at while debugging.
parent
c323511eee
commit
ec250efd2d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue