diff --git a/check_and_add_pull_git/pull_and_push.py b/check_and_add_pull_git/pull_and_push.py index f5f00a2..6dd5e9a 100644 --- a/check_and_add_pull_git/pull_and_push.py +++ b/check_and_add_pull_git/pull_and_push.py @@ -40,9 +40,7 @@ class my_git(): my_git.git_push(self, git_folder=git_folder_s) if __name__ == "__main__": - check_time= datetime.datetime.now() - print(check_time.strftime("%d.%m.%Y %H:%M:%S") + " start...") + print(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " 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(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " ...end")