Skip to content

Commit

Permalink
improve print output
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayukhdeb committed Feb 12, 2024
1 parent 17148d0 commit 9006ed3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions papyrus/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def compile(self, output_html_filename: str, style_css_filename: str):
)
os.system(command=command)

def __repr__(self):
return f'Post(filename="{self.filename}", slug="{self.slug}", title="{self.title}")'

class PapyrusHome:
def __init__(
self,
Expand Down

0 comments on commit 9006ed3

Please sign in to comment.