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