Skip to content

Commit

Permalink
Fix incorrect isAlive() and update email
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
2Franix committed Sep 14, 2021
1 parent d4fd1ad commit a36100b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homewatcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"""
__all__ = ['alarm', 'configuration', 'configurator', 'sensor', 'timer']

version = Version(1, 3, 2)
version = Version(1, 3, 3)
__version__=str(version)

2 changes: 1 addition & 1 deletion homewatcher/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
author_email='[email protected]',
maintainer='Cyrille Defranoux',
maintainer_email='[email protected]',
maintainer_email='[email protected]',
license='GNU Public General License',
url='https://github.com/2franix/homewatcher/',
requires=['pyknx (>=2.0)'],
Expand Down

0 comments on commit a36100b

Please sign in to comment.