ck %!s(int64=4) %!d(string=hai) anos
pai
achega
286dda85e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      handlers/GitHookHandler.py

+ 1 - 1
handlers/GitHookHandler.py

@@ -5,7 +5,7 @@ from model import DingTalkUtils
 
 class DataCenerHook(BaseHandler):
 
-    def get(self):
+    def post(self):
         os.system('cd /home/qc/DataCenter')
         val= os.popen('git pull')
         self.write('ok')