Error handling for Gpio fixed

This commit is contained in:
Balthasar Reuter committed 2018-07-17 01:16:24 +02:00
1 parent fa88649def
commit 69b51d520b
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ class GpioProcess(mp.Process):
if Gpio(self._cfg, self._comm).run(): if Gpio(self._cfg, self._comm).run():
break break
except Exception as e: 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): def run(argv):