Skip to content

Commit

Permalink
Fix import error in pyaml script
Browse files Browse the repository at this point in the history
There is no main in _main_.py, so the import fails. This patch fixes it
by redirecting the import to cli.py
  • Loading branch information
wojnilowicz committed Jan 1, 2025
1 parent 17b3234 commit b1ad0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ readme = {file="README.rst"}
anchors = ["unidecode"]

[project.scripts]
pyaml = "pyaml.__main__:main"
pyaml = "pyaml.cli:main"

0 comments on commit b1ad0ce

Please sign in to comment.