Update index.py

pull/109/head
Mr Chen 6 years ago
parent bf9904dd93
commit f9ff25da22
  1. 4
      plugins/l2tp/index.py

@ -100,6 +100,10 @@ def getUserList():
conf = public.readFile(path)
conf = re.sub('#(.*)\n', '', conf)
if conf.strip() == '':
return public.returnJson(True, 'ok', [])
ulist = conf.strip().split('\n')
user = []

Loading…
Cancel
Save