Update index.py

pull/620/head
Mr Chen 10 months ago
parent 50e3173706
commit 9f8af72c70
  1. 2
      plugins/mysql-apt/index.py

@ -753,7 +753,7 @@ def setDbStatus(version):
s = 'K'
if g in emptys:
s = ''
rep = r'\s*' + g + .r'\s*=\s*\d+(M|K|k|m|G)?\n'
rep = r'\s*' + g + r'\s*=\s*\d+(M|K|k|m|G)?\n'
c = g + ' = ' + args[g] + s + '\n'
if content.find(g) != -1:
content = re.sub(rep, '\n' + c, content, 1)

Loading…
Cancel
Save