Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Apr 17, 2024
1 parent 3871206 commit eee10d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def __init__(self, widget) -> None:
self.summary_enabled = widget.get('summary_enabled', True)
self.hx_get = f"/feed/{self.id}"

self.cache_path.parent.mkdir(parents=True, exist_ok=True)
if not self.cache_path.paren.exists():
self.cache_path.parent.mkdir(parents=True, exist_ok=True)

items = self.load_cache(self.cache_path)
self.items = items[:self.display_limit]
Expand Down

0 comments on commit eee10d2

Please sign in to comment.