Skip to content

Commit

Permalink
Bump to 1.0.7
Browse files Browse the repository at this point in the history
- Fixed check for callable type
  • Loading branch information
dschreij committed May 14, 2016
1 parent 7a42cf3 commit a87937d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QNotifications/QNotification.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def fadeOut(self, finishedCallback, duration):
if the wrong datatype is specified for any of the parameters.
"""

if not isinstance(finishedCallback, callable):
if not callable(finishedCallback):
raise TypeError("finishedCallback should be a callable")
if type(duration) != int:
raise TypeError("duration should be an integer")
Expand Down
2 changes: 1 addition & 1 deletion QNotifications/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
You should have received a copy of the GPLv3 License
along with this module.>.
"""
__version__ = "1.0.6"
__version__ = "1.0.7"
__author__ = "Daniel Schreij ([email protected])"

# Do some base imports
Expand Down

0 comments on commit a87937d

Please sign in to comment.