Skip to content

Commit

Permalink
Merge pull request #22 from ESMCI/fix/gitinterface
Browse files Browse the repository at this point in the history
fix py3.11 issue in gitinterface
  • Loading branch information
jedwards4b authored Mar 19, 2024
2 parents 78b3154 + 8242860 commit 16b3ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_fleximod/gitinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 16b3ac3

Please sign in to comment.