Update index.py

pull/624/head
Mr Chen 7 months ago
parent c694688220
commit 0ab0a918c3
  1. 3
      plugins/pgadmin/index.py

@ -233,9 +233,6 @@ def pgOp(method):
return 'ok'
return data[1]
if method == 'stop' or method == 'restart':
mw.execShell(file + ' ' + 'stop')
data = mw.execShell('systemctl ' + method+ '' + getPluginName())
if data[1] == '':
return 'ok'

Loading…
Cancel
Save