From 3f6a1602d1ebaba9a5b4e215563141f8ba2948b5 Mon Sep 17 00:00:00 2001 From: yzqzss Date: Thu, 20 Jul 2023 18:02:05 +0800 Subject: [PATCH] fix: custom cookies_file not loaded --- biliarchiver/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/biliarchiver/config.py b/biliarchiver/config.py index cd74707..48e6f97 100644 --- a/biliarchiver/config.py +++ b/biliarchiver/config.py @@ -39,6 +39,8 @@ class _Config(metaclass=singleton): self.storage_home_dir: Path = Path(config_file['storage_home_dir']).expanduser() self.ia_key_file: Path = Path(config_file['ia_key_file']).expanduser() + self.cookies_file: Path = Path(config_file['cookies_file']).expanduser() + def save(self): with open(CONFIG_FILE, 'w', encoding='utf-8') as f: