From 0dd59415d9ff91ef886781293542068b81b5dafe Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 29 Apr 2026 01:08:16 -0400 Subject: [PATCH] Typo fix --- src/copyvios/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copyvios/cache.py b/src/copyvios/cache.py index 99a8bcb..c326763 100644 --- a/src/copyvios/cache.py +++ b/src/copyvios/cache.py @@ -63,7 +63,7 @@ def _get_engine(bot: Bot) -> sqlalchemy.Engine: def _make_cache() -> AppCache: bot = Bot(".earwigbot", 100) - oauth_config = cache.bot.config.wiki.get("copyvios", {}).get("oauth", {}) + oauth_config = bot.config.wiki.get("copyvios", {}).get("oauth", {}) if oauth_config.get("consumer_token") is None: raise ValueError( "No OAuth consumer token is configured (config.wiki.copyvios.oauth.consumer_token)"