forked from platypush/platypush
Fixed __exit__ arguments list in GpioSensorDistance
This commit is contained in:
parent
470f4a8fc9
commit
17d233b55d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class GpioSensorDistancePlugin(GpioPlugin, GpioSensorPlugin):
|
|||
def __enter__(self):
|
||||
self._init_board()
|
||||
|
||||
def __exit__(self):
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
self.close()
|
||||
|
||||
def _get_measurement_thread(self, duration: float):
|
||||
|
|
Loading…
Reference in a new issue