Skip to content

Commit f3bb14c

Browse files
authored
Fix Path (#54)
1 parent ccf2cfb commit f3bb14c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cppython/console.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _find_pyproject_file() -> Path:
2626
False
2727
), "This is not a valid project. No pyproject.toml found in the current directory or any of its parents."
2828

29-
path = Path(path / "pyproject.toml")
29+
path = Path(path)
3030

3131
return path
3232

@@ -50,7 +50,7 @@ class Config:
5050

5151
def __init__(self):
5252
path = _find_pyproject_file()
53-
self.pyproject_data = _create_pyproject(path)
53+
self.pyproject_data = _create_pyproject(path / "pyproject.toml")
5454

5555
configuration = InterfaceConfiguration()
5656
self.interface = ConsoleInterface(configuration)

0 commit comments

Comments
 (0)