From 242484f976ce5ac35cd0633d28a575a1c62e79c3 Mon Sep 17 00:00:00 2001 From: Anton Sarukhanov <code@ant.sr> Date: Mon, 11 Jun 2018 23:45:57 -0400 Subject: [PATCH] Fix accidental delete... --- setup.py | 2 +- turntouch/turntouch.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b44b4b3..c0dbe08 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def read(filename): setup( name='TurnTouch', - version='0.2', + version='0.3', url='https://github.com/antsar/python-turntouch', author='Anton Sarukhanov', author_email='code@ant.sr', diff --git a/turntouch/turntouch.py b/turntouch/turntouch.py index 2e1b1f3..8030cc0 100644 --- a/turntouch/turntouch.py +++ b/turntouch/turntouch.py @@ -257,6 +257,7 @@ class TurnTouch(btle.Peripheral): .format(address=address)) self.withDelegate(self.NotificationDelegate(turn_touch=self)) self.handler = handler or DefaultActionHandler + self.debounce = debounce self._combo_action = set() if listen: self.listen_forever() -- GitLab