From f5b0ce7788d8303381122de602107148d8427e2f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 24 Oct 2024 14:39:16 +0800 Subject: [PATCH] Update index.py --- plugins/gogs/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gogs/index.py b/plugins/gogs/index.py index d54d69361..5311feefc 100755 --- a/plugins/gogs/index.py +++ b/plugins/gogs/index.py @@ -419,7 +419,7 @@ def getGogsConf(): result = [] for g in gets: - rep = g['name'] + '\s*=\s*(.*)' + rep = g['name'] + '\\s*=\\s*(.*)' tmp = re.search(rep, conf) if not tmp: continue