From a36100bf5df70f177cc9991c96b05cc82bec6a04 Mon Sep 17 00:00:00 2001 From: 2Franix Date: Tue, 14 Sep 2021 07:20:57 +0200 Subject: [PATCH] Fix incorrect isAlive() and update email Version 1.3.3. Very surprised that this isAlive typo has not been spotted earlier. Really need to add some type checking with mypy, I guess. --- homewatcher/__init__.py | 2 +- homewatcher/sensor.py | 2 +- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homewatcher/__init__.py b/homewatcher/__init__.py index 31f32f5..fdd7ac2 100644 --- a/homewatcher/__init__.py +++ b/homewatcher/__init__.py @@ -31,6 +31,6 @@ """ __all__ = ['alarm', 'configuration', 'configurator', 'sensor', 'timer'] -version = Version(1, 3, 2) +version = Version(1, 3, 3) __version__=str(version) diff --git a/homewatcher/sensor.py b/homewatcher/sensor.py index 7986bd8..bba93cf 100644 --- a/homewatcher/sensor.py +++ b/homewatcher/sensor.py @@ -342,7 +342,7 @@ def onDisabled(self): pass def isActivationPending(self): - return self._activationTimer != None and self._activationTimer.isAlive() and not self._activationTimer.isTerminating + return self._activationTimer != None and self._activationTimer.is_alive() and not self._activationTimer.isTerminating def _onActivationTimerTimeout(self, timer): if not timer.isCancelled: diff --git a/setup.py b/setup.py index 5586051..f21de2e 100644 --- a/setup.py +++ b/setup.py @@ -52,9 +52,9 @@ def installRequirement(requirementName): description='Alarm system built on top of Linknx', long_description=''.join(open('README.md').readlines()), author='Cyrille Defranoux', - author_email='knx@aminate.net', + author_email='cyrille.github@defx.fr', maintainer='Cyrille Defranoux', - maintainer_email='knx@aminate.net', + maintainer_email='cyrille.github@defx.fr', license='GNU Public General License', url='https://github.com/2franix/homewatcher/', requires=['pyknx (>=2.0)'],