Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Oct 2, 2023
1 parent 6fe80c8 commit efde2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repogen/siteurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def siteurl() -> str:
cname_file = Path(__file__, '..', '..', 'content', 'extra', 'CNAME')
cname_file = Path(__file__).parent.parent.joinpath('content', 'extra', 'CNAME')
if not cname_file.exists():
return ''
return f'https://{cname_file.read_text().strip()}'

0 comments on commit efde2a8

Please sign in to comment.