aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-02 13:22:40 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-02 13:22:40 +0100
commitfb39059b60757c210cbcf06ad154a420dc315071 (patch)
treef7dd4bdd6124689d52f998d4fc53bde9ca7ab3e1
parentfixed issue with the function to import bookmarks from a JSON file. (diff)
downloadnewspipe-fb39059b60757c210cbcf06ad154a420dc315071.tar.gz
newspipe-fb39059b60757c210cbcf06ad154a420dc315071.tar.bz2
newspipe-fb39059b60757c210cbcf06ad154a420dc315071.zip
fixed issue in import_pinboard_json
-rw-r--r--newspipe/lib/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/lib/data.py b/newspipe/lib/data.py
index 7c6beff9..94f98ac4 100644
--- a/newspipe/lib/data.py
+++ b/newspipe/lib/data.py
@@ -214,7 +214,7 @@ def import_pinboard_json(user, json_content):
bookmark_attr = {
"href": bookmark["href"],
"description": description,
- "title": description,
+ "title": bookmark["title"],
"shared": [bookmark["shared"] == "yes" and True or False][0],
"to_read": [bookmark["toread"] == "yes" and True or False][0],
"time": time,
bgstack15