From b3426b24946ddb6638104169a94808cc68854422 Mon Sep 17 00:00:00 2001 From: blankie Date: Wed, 17 Jun 2026 19:16:53 +0000 Subject: [PATCH] subscriptions: fix sqlite3.Row access (no .get() method) --- src/tinyweb/handlers/subscriptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tinyweb/handlers/subscriptions.py b/src/tinyweb/handlers/subscriptions.py index 1e0b5b7..8732de1 100644 --- a/src/tinyweb/handlers/subscriptions.py +++ b/src/tinyweb/handlers/subscriptions.py @@ -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()