Skip to content

Commit d86af5e

Browse files
修复类型错误
1 parent c44aa61 commit d86af5e

File tree

2 files changed

+1622
-1620
lines changed

2 files changed

+1622
-1620
lines changed

nonebot_plugin_omikuji/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ def check(self) -> Config:
4141
raise ValueError("omikuji_long_cache_update_days must be greater than 0")
4242
return self
4343

44+
4445
CONFIG: Config = get_plugin_config(Config)
45-
CAHCE_DIR: Path = get_cache_dir()
46+
CACHE_DIR: Path = get_plugin_cache_dir()
47+
4648

4749
def get_config() -> Config:
4850
return CONFIG

0 commit comments

Comments
 (0)