Error handling for Gpio fixed

This commit is contained in:
Balthasar Reuter
2018-07-17 01:16:24 +02:00
parent fa88649def
commit 69b51d520b

View File

@@ -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):