From 1e1bf46f326ecc0d34e1e1b60d316f36e9dbe019 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 26 Nov 2021 19:07:44 +0100 Subject: [PATCH] Fixed handling of URLs on Pushbullet notes --- platypush/plugins/pushbullet/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platypush/plugins/pushbullet/__init__.py b/platypush/plugins/pushbullet/__init__.py index 9c9fa1225..65ccbdc24 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