subscriptions: fix sqlite3.Row access (no .get() method)

This commit is contained in:
blankie 2026-06-17 19:16:53 +00:00
parent 893c9cbb15
commit b3426b2494

View file

@ -146,7 +146,7 @@ def handle_subscriptions(msg=""):
for s in subs:
sub_id = s["id"]
auto_label = "on" if s["auto_sync"] else "off"
forum_label = "on" if s.get("forum_enabled") else "off"
forum_label = "on" if s["forum_enabled"] else "off"
last = s["last_sync"] or "never"
sync_status = get_setting(f"sync_status_{sub_id}", "")
is_syncing = sub_id in _sync_threads and _sync_threads[sub_id].is_alive()