diff --git a/platypush/plugins/pushbullet/__init__.py b/platypush/plugins/pushbullet/__init__.py index 9c9fa1225a..65ccbdc24f 100644 --- a/platypush/plugins/pushbullet/__init__.py +++ b/platypush/plugins/pushbullet/__init__.py @@ -97,7 +97,10 @@ class PushbulletPlugin(Plugin): kwargs['body'] = body kwargs['title'] = title - kwargs['type'] = 'link' if url else 'note' + kwargs['type'] = 'note' + if url: + kwargs['type'] = 'link' + kwargs['url'] = url if device: # noinspection PyTypeChecker