소스 검색

Typo fix

pull/62/head
Ben Kurtovic 5 달 전
부모
커밋
0dd59415d9
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/copyvios/cache.py

+ 1
- 1
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)"


불러오는 중...
취소
저장