Encoding utf-8, bug fix

This commit is contained in:
AjaySi
2024-04-12 18:46:42 +05:30
parent e3c3c03729
commit bdab2e9959
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ def cfg_search_param(flag):
file_path = Path(__file__).resolve().parents[2] / "main_config"
logger.info(f"Reading search config params from {file_path}")
config = configparser.ConfigParser()
config.read(file_path)
config.read(file_path, encoding="utf-8")
web_research_section = config["web_research"]
if 'serperdev' in flag: