From 87ef0b2daf3542e96cc10307e9d511bdf3d0a52b Mon Sep 17 00:00:00 2001 From: Redume Date: Wed, 26 Mar 2025 17:55:59 +0300 Subject: [PATCH] fix: corrected the name of the encoding --- functions/create_chart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/create_chart.py b/functions/create_chart.py index 9498298..9348789 100644 --- a/functions/create_chart.py +++ b/functions/create_chart.py @@ -3,7 +3,7 @@ from http import HTTPStatus import yaml import aiohttp -config = yaml.safe_load(open('config.yaml', 'r', encoding='utf-9')) +config = yaml.safe_load(open('config.yaml', 'r', encoding='utf-8')) async def create_chart(from_currency: str, conv_currency: str) -> (dict, None): async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=3)) as session: