fix: custom cookies_file not loaded

This commit is contained in:
yzqzss 2023-07-20 18:02:05 +08:00
parent d75d1786ff
commit 3f6a1602d1

View File

@ -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: