We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf2cfb commit f3bb14cCopy full SHA for f3bb14c
cppython/console.py
@@ -26,7 +26,7 @@ def _find_pyproject_file() -> Path:
26
False
27
), "This is not a valid project. No pyproject.toml found in the current directory or any of its parents."
28
29
- path = Path(path / "pyproject.toml")
+ path = Path(path)
30
31
return path
32
@@ -50,7 +50,7 @@ class Config:
50
51
def __init__(self):
52
path = _find_pyproject_file()
53
- self.pyproject_data = _create_pyproject(path)
+ self.pyproject_data = _create_pyproject(path / "pyproject.toml")
54
55
configuration = InterfaceConfiguration()
56
self.interface = ConsoleInterface(configuration)
0 commit comments