From ab6f860bdec9a009ee6c8604695c366d08f84dc9 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 30 Nov 2022 15:14:07 +0800 Subject: [PATCH] Update index.py --- plugins/gitea/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gitea/index.py b/plugins/gitea/index.py index 3570cbf8f..ad56f1c87 100755 --- a/plugins/gitea/index.py +++ b/plugins/gitea/index.py @@ -519,7 +519,7 @@ def checkProjectListIsHasScript(user, data): path = getRootPath() + '/' + user for x in range(len(data)): name = data[x]['name'] + '.git' - path_tmp = path + '/' + name + '/custom_hooks/post-receive' + path_tmp = path + '/' + name + '/hooks/post-receive.d/post-receive' if os.path.exists(path_tmp): data[x]['has_hook'] = True else: