From 13d82f991374bc2bf75c85d79cc97bce1e3cc8b7 Mon Sep 17 00:00:00 2001 From: Reuh Date: Sat, 25 Oct 2025 12:15:43 +0200 Subject: [PATCH] feat: center videos in default css --- src/feather/app.py | 6 +++--- src/feather/config.default.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/feather/app.py b/src/feather/app.py index 22cde0a..e67a9c7 100755 --- a/src/feather/app.py +++ b/src/feather/app.py @@ -128,7 +128,7 @@ class FeatherApp: print("Synchronizing from server...") new_articles, updated_articles = 0, 0 - grabbed_article_paths: set[ArticleId] = set() + grabbed_article_ids: set[ArticleId] = set() categories = client_session.list_categories() for category in categories: @@ -148,7 +148,7 @@ class FeatherApp: remaining = False for article in articles: - grabbed_article_paths.add(article.id) + grabbed_article_ids.add(article.id) json_path = article.json_path if not json_path.exists(): article.write() @@ -166,7 +166,7 @@ class FeatherApp: datetime.now().timestamp() - config.keep_read_articles_for ) for article in self.iter_articles(): - if article.id not in grabbed_article_paths: + if article.id not in grabbed_article_ids: # we only sync unread: articles we didn't get from the server were read or purged if config.only_sync_unread_articles: if article.last_write < article_cutoff_timestamp: diff --git a/src/feather/config.default.toml b/src/feather/config.default.toml index 5487dd4..a07f3d6 100644 --- a/src/feather/config.default.toml +++ b/src/feather/config.default.toml @@ -85,7 +85,7 @@ article_template = '''