diff --git a/check_and_add_pull_git/pull_and_push.py b/check_and_add_pull_git/pull_and_push.py index 8054593..90106b5 100644 --- a/check_and_add_pull_git/pull_and_push.py +++ b/check_and_add_pull_git/pull_and_push.py @@ -22,7 +22,7 @@ class my_git(): def git_push(self, git_folder): repo = git.Repo(git_folder) if not repo.is_dirty(untracked_files=True): - print(repo.git_dir) + print(repo.git) print('No Changes detected.') else: print("Changes detected.")