commit message from python script

This commit is contained in:
2023-04-14 16:58:29 +02:00
parent 156253f578
commit 8734e18eef
2 changed files with 19 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env python3
import os, git
import os, git, datetime
class my_git():
def __init__(self, check_folder = str) -> None:
@@ -40,5 +40,7 @@ class my_git():
my_git.git_push(self, git_folder=git_folder_s)
if __name__ == "__main__":
print(str(datetime.datetime.now()) + "start...")
check_my_git = my_git(check_folder= os.sep + "home" + os.sep + os.environ["USER"] + os.sep + "Projekte")
check_my_git.git_main()
print(str(datetime.datetime.now()) + "...end")