From 06fb91daff331296f4c212daa453e4a850b3f900 Mon Sep 17 00:00:00 2001 From: kmeagle1515 <46345142+kmeagle1515@users.noreply.github.com> Date: Sat, 30 Mar 2019 11:26:54 -0700 Subject: [PATCH] Changes in ArduinoIO file (#805) Removing duplicate code. Thanks @kmeagle1515. Funny how this goes unnoticed. And congrats on first time contribution! :fireworks: May not seem like a big one but these kind of small contributions are the thing that help us out a lot. Cheers! --- pocs/sensors/arduino_io.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pocs/sensors/arduino_io.py b/pocs/sensors/arduino_io.py index b066821d1..da013195e 100644 --- a/pocs/sensors/arduino_io.py +++ b/pocs/sensors/arduino_io.py @@ -154,10 +154,6 @@ def __del__(self): if hasattr(self, '_logger'): self._logger.info('Deleting ArduinoIO instance for board {}', self.board) - def __del__(self): - if hasattr(self, '_logger'): - self._logger.info('Deleting ArduinoIO instance for board {}', self.board) - @property def stop_running(self): return self._stop_running.is_set()