From 3506f5abb44586bcf100ab007f123bfb8e7f081a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 20 Feb 2018 16:38:51 +0100 Subject: [PATCH] Fix ProcessMonitor not being compatible with SupervisorMixin --- lib/tfw/components/process_managing_event_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tfw/components/process_managing_event_handler.py b/lib/tfw/components/process_managing_event_handler.py index 6eeba43..c05416c 100644 --- a/lib/tfw/components/process_managing_event_handler.py +++ b/lib/tfw/components/process_managing_event_handler.py @@ -4,7 +4,7 @@ from tfw.components.mixins import SupervisorMixin class ProcessManager(SupervisorMixin): def __init__(self, supervisor_process_name): - self.process = supervisor_process_name + self.process_name = supervisor_process_name self.commands = {'start': self.start_process, 'stop': self.stop_process, 'restart': self.restart_process}