beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI : fix watchdog exception when timeout null
svghmi
2020-02-13, Edouard Tisserant
bc666f020ab3
Parents
6ac6a9dff594
Children
ce6cecdb7320
SVGHMI : fix watchdog exception when timeout null
1 files changed, 2 insertions(+), 0 deletions(-)
+2
-0
svghmi/svghmi_server.py
--- a/svghmi/svghmi_server.py Tue Feb 11 13:56:48 2020 +0100
+++ b/svghmi/svghmi_server.py Thu Feb 13 09:41:43 2020 +0100
@@ -92,6 +92,8 @@
if duration:
self.timer = Timer(duration, self.trigger)
self.timer.start()
+ else:
+ self.timer = None
def _stop(self):
if self.timer is not None: