Fix bug when restarting tempmon client
This commit is contained in:
parent
aa9c7abdb5
commit
ede7869a22
|
@ -112,7 +112,7 @@ class TempmonClientView(MasterView):
|
|||
client = self.get_instance()
|
||||
if self.restartable_client(client):
|
||||
try:
|
||||
subprocess.check_output(get_restart_cmd(client),
|
||||
subprocess.check_output(self.get_restart_cmd(client),
|
||||
stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as error:
|
||||
self.request.session.flash("Failed to restart client: {}".format(error.output), 'error')
|
||||
|
|
Loading…
Reference in a new issue