Update index.py

pull/109/head
midoks 6 years ago
parent 51a368a998
commit e43970652e
  1. 6
      plugins/walle/index.py

@ -117,10 +117,10 @@ def stop():
def restart(): def restart():
file = initDreplace() file = initDreplace()
data = runShell(file + ' restart') cmd = file + ' restart'
if data[1] == '': data = subprocess.Popen(
cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
return 'ok' return 'ok'
return 'fail'
def reload(): def reload():

Loading…
Cancel
Save