Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
meeting-people.py: Fix meeting-people.txt finding
Browse files Browse the repository at this point in the history
We need to resolve symlinks to find the actual directory when the script
is e.g. symlinked to ~/.local/bin.
  • Loading branch information
gotmax23 committed Nov 30, 2022
1 parent 1bc0177 commit 25a8017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meeting/meeting-people.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def main():
path = Path(__file__).parent.joinpath("meeting-people.txt")
path = Path(__file__).resolve().parent.joinpath("meeting-people.txt")
with path.open(encoding="utf-8") as fp:
people = sorted(
[
Expand Down

0 comments on commit 25a8017

Please sign in to comment.