Skip to content

Commit

Permalink
Merge pull request #101 from JulianKimmig/master
Browse files Browse the repository at this point in the history
Update packageinfo.py
  • Loading branch information
FredHappyface authored Feb 1, 2025
2 parents 7347d19 + e88918a commit fc8e49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion licensecheck/packageinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def getMyPackageMetadata() -> dict[str, Any]:

if Path("pyproject.toml").exists():
pyproject = tomli.loads(Path("pyproject.toml").read_text(encoding="utf-8"))
tool = pyproject["tool"]
tool = pyproject.get("tool",{})
if "poetry" in tool:
return tool["poetry"]
if "flit" in tool:
Expand Down

0 comments on commit fc8e49e

Please sign in to comment.