From fbdad1c26ef0f9794f0732bc15166f1e235135b7 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 19 Dec 2024 18:11:03 +0800 Subject: [PATCH] refa: move relic config to map folder --- res_func/relic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res_func/relic.py b/res_func/relic.py index dd87959..99b8a9d 100644 --- a/res_func/relic.py +++ b/res_func/relic.py @@ -94,5 +94,6 @@ async def fetch_relic_config(): await fetch_all_relic() await fetch_main_affix() await fetch_sub_affix() - data_path = Path("data") + data_path = Path("data") / "mihomo_map" + data_path.mkdir(exist_ok=True, parents=True) await dump_relic_config(data_path / "relic_config.json")