fix: corrected the name of the encoding

This commit is contained in:
Данил 2025-03-26 17:55:59 +03:00
parent ae039e2310
commit 87ef0b2daf

View file

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