diff --git a/git_config.py b/git_config.py index c4c31e18..8ded7c25 100644 --- a/git_config.py +++ b/git_config.py @@ -280,7 +280,7 @@ class GitConfig(object): finally: fd.close() except (IOError, TypeError): - if os.path.exists(self.json): + if os.path.exists(self._json): os.remove(self._json) def _ReadGit(self):