From 69b51d520bb954f012420c154b959c9fcbc633c3 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Tue, 17 Jul 2018 01:16:24 +0200 Subject: [PATCH] Error handling for Gpio fixed --- photobooth/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photobooth/main.py b/photobooth/main.py index 1e21806..d1d1023 100644 --- a/photobooth/main.py +++ b/photobooth/main.py @@ -114,7 +114,7 @@ class GpioProcess(mp.Process): if Gpio(self._cfg, self._comm).run(): break except Exception as e: - self.comm.send(Workers.MASTER, ErrorEvent('Gpio', str(e))) + self._comm.send(Workers.MASTER, ErrorEvent('Gpio', str(e))) def run(argv):