Update index.py

pull/628/head
Mr Chen 7 months ago
parent 5757627a12
commit f5b0ce7788
  1. 2
      plugins/gogs/index.py

@ -419,7 +419,7 @@ def getGogsConf():
result = [] result = []
for g in gets: for g in gets:
rep = g['name'] + '\s*=\s*(.*)' rep = g['name'] + '\\s*=\\s*(.*)'
tmp = re.search(rep, conf) tmp = re.search(rep, conf)
if not tmp: if not tmp:
continue continue

Loading…
Cancel
Save