Skip to content

Commit 7fcaa6b

Browse files
committed
Testing dapi version print
1 parent 4cbd14e commit 7fcaa6b

File tree

2 files changed

+109
-55
lines changed

2 files changed

+109
-55
lines changed

dapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _get_version():
9090
import tomli as tomllib # Use tomli and alias it as tomllib
9191

9292
try:
93-
pyproject_path = Path(__file__).parent.parent / "pyproject.toml"
93+
pyproject_path = Path(__file__).parent / "pyproject.toml"
9494
with open(pyproject_path, "rb") as f: # tomllib expects bytes
9595
data = tomllib.load(f)
9696
return data["tool"]["poetry"]["version"]

0 commit comments

Comments
 (0)