Skip to content

Commit 53942bf

Browse files
author
Nathan Lee
committed
Fix to notifications property
1 parent 8d0bd18 commit 53942bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyrunner/core/pyrunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def notification(self):
9191
return self._notification
9292
@notification.setter
9393
def notification(self, o):
94-
if not issubclass(o, Notification):
94+
if not issubclass(type(o), Notification):
9595
raise TypeError('Not an extension of pyrunner.notification.Notification')
9696
self._notification = o
9797
return self

pyrunner/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '5.2.0'
1+
__version__ = '5.2.1'

0 commit comments

Comments
 (0)