diff --git a/setup.py b/setup.py index b44b4b3a15017d69a470d9076b61b12facbd8230..c0dbe085884f16053597d50a71724f38ce7e2c69 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 2e1b1f3452ec3a16c4621139e2661aa422e99f1d..8030cc04c0ea2816d00fc3a4cef0aa631b5122ed 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()