diff --git a/pyro/ProjectBase.py b/pyro/ProjectBase.py index e104d135..fb8396c9 100644 --- a/pyro/ProjectBase.py +++ b/pyro/ProjectBase.py @@ -38,6 +38,7 @@ def __init__(self, options: ProjectOptions) -> None: self.project_name = os.path.splitext(os.path.basename(self.options.input_path))[0] self.project_path = os.path.dirname(self.options.input_path) + os.chdir(self.project_path) def __setattr__(self, key: str, value: object) -> None: if isinstance(value, str) and endswith(key, 'path'):