diff --git a/git_fleximod/gitinterface.py b/git_fleximod/gitinterface.py index 203c500..93ae38e 100644 --- a/git_fleximod/gitinterface.py +++ b/git_fleximod/gitinterface.py @@ -25,7 +25,7 @@ def __init__(self, repo_path, logger): msg = "Using GitPython interface to git" except ImportError: self._use_module = False - if not (repo_path / ".git").exists(): + if not (self.repo_path / ".git").exists(): self._init_git_repo() msg = "Using shell interface to git" self.logger.info(msg)