Update index.py

This commit is contained in:
midoks 2018-12-13 22:47:45 +08:00
parent 8f4e125009
commit a0f07beaff
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ def projectScriptLoad():
public.writeFile(post_commit_file, pct_content)
public.execShell('chmod 777 ' + post_commit_file)
commit_tpl = getPluginDir() + '/hook/post-commit.tpl'
commit_tpl = getPluginDir() + '/hook/commit.tpl'
commit_file = hook_path + '/commit'
ct_content = public.readFile(commit_tpl)