mirror of
https://github.com/Redume/Shirino.git
synced 2025-04-01 18:37:35 +03:00
fix: corrected the name of the encoding
This commit is contained in:
parent
ae039e2310
commit
87ef0b2daf
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue