Skip to content

Commit

Permalink
fix for bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Mar 30, 2024
1 parent c871a26 commit e670aad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"cSpell.words": [
"Instapundit",
"Monero",
"Slickdeals",
"Tailscale",
"Thingiverse"
]
}
1 change: 1 addition & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ async def index(tab_name=None):
widget['summary_enabled'] = widget.get('summary_enabled', True)
tasks.append(asyncio.create_task(rss.load_feed(widget)))
elif widget['type'] == 'bookmarks':
widget['article_limit'] = -1
widget['articles'] = [{'title': entry['title'], 'link': entry['url']} for entry in widget['bookmarks']]

await asyncio.wait(tasks)
Expand Down

0 comments on commit e670aad

Please sign in to comment.