From 01c103b48cbaa17897bc2b6684d8f9e6ff27a44c Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 15 Jun 2021 18:12:03 +0800 Subject: [PATCH] 1 --- deploy/deploy_git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy_git.py b/deploy/deploy_git.py index 6c31e41..e4afa99 100644 --- a/deploy/deploy_git.py +++ b/deploy/deploy_git.py @@ -22,7 +22,7 @@ dbargs['db'] = 'ywplatform' class DeployGit: def __init__(self, name): self.name = name - self.now = datetime.datetime.now().strftime("%Y%m%dH%M%S") + self.now = datetime.datetime.now().strftime("%Y%m%d%H%M%S") def run(self): sql = "select hosts,paths,user,url,pre_script,start_script from ops_deploy_git where name='{name}' and in_used=1;".format(