Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cppython/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _find_pyproject_file() -> Path:
False
), "This is not a valid project. No pyproject.toml found in the current directory or any of its parents."

path = Path(path / "pyproject.toml")
path = Path(path)

return path

Expand All @@ -50,7 +50,7 @@ class Config:

def __init__(self):
path = _find_pyproject_file()
self.pyproject_data = _create_pyproject(path)
self.pyproject_data = _create_pyproject(path / "pyproject.toml")

configuration = InterfaceConfiguration()
self.interface = ConsoleInterface(configuration)
Expand Down