Skip to content

Commit

Permalink
Fixed check if workerpool is set for notifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Delle Cave committed Jan 14, 2020
1 parent 2dc44f4 commit 234b77b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
python-dwho (0.3.27) unstable; urgency=medium

* Fixed check if workerpool is set for notifiers.

-- Adrien DELLE CAVE (Decryptus) <adc@doowan.net> Tue, 14 Jan 2020 19:23:06 +0100

python-dwho (0.3.26) unstable; urgency=medium

* Reviewed requirements.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.26
0.3.27
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.26
0.3.27
2 changes: 1 addition & 1 deletion dwho/classes/notifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _run(self, xvars = None):
notifier(name, cfg, uri, nvars, tpl)

while True:
if self.workerpool.killable():
if self.workerpool and self.workerpool.killable():
self.workerpool.killall(0)
self.workerpool = None
time.sleep(0.5)
Expand Down
4 changes: 2 additions & 2 deletions setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: dwho
author: Adrien Delle Cave
author_email: pypi@doowan.net
copyright: '2020 Adrien Delle Cave'
release: '0.3.26'
version: '0.3.26'
release: '0.3.27'
version: '0.3.27'
license: License GPL-3
url: https://github.com/decryptus/dwho
python_requires:
Expand Down

0 comments on commit 234b77b

Please sign in to comment.