From 421d7f55654d993e415054d1a53ef3bc251871bf Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 13 Dec 2018 22:40:37 +0800 Subject: [PATCH] Update index.py --- plugins/csvn/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/csvn/index.py b/plugins/csvn/index.py index ab826363f..2bf6820e9 100755 --- a/plugins/csvn/index.py +++ b/plugins/csvn/index.py @@ -524,7 +524,7 @@ def projectScriptLoad(): post_commit_file = hook_path + '/post-commit' pct_content = public.readFile(post_commit_tpl) - public.writeFile(pro_commit_file, pct_content) + public.writeFile(post_commit_file, pct_content) public.execShell('chmod 777 ' + post_commit_file) commit_tpl = getPluginDir() + '/hook/post-commit.tpl'