Adjust Article repr so it's easier to look at while debugging.
This commit is contained in:
parent
c323511eee
commit
ec250efd2d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue