Verified Commit 1e1bf46f authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

Fixed handling of URLs on Pushbullet notes

parent 848b736d
Pipeline #111 passed with stages
in 6 minutes and 11 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment