From 1170bada4cd8274d5ab0d2603d160bc612d5b5bc Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Sun, 3 Sep 2023 17:47:37 +0200 Subject: [PATCH] commit message from python script --- check_and_add_pull_git/pull_and_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")