Fix mix of aiohttp and requests in ClickSend TTS (#74985)

pull/74992/head
Franck Nijhof 2022-07-11 14:38:08 +02:00 committed by GitHub
parent ce353460b3
commit 66e27945ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ from http import HTTPStatus
import json
import logging
from aiohttp.hdrs import CONTENT_TYPE
import requests
import voluptuous as vol
@ -20,7 +19,7 @@ _LOGGER = logging.getLogger(__name__)
BASE_API_URL = "https://rest.clicksend.com/v3"
HEADERS = {CONTENT_TYPE: CONTENT_TYPE_JSON}
HEADERS = {"Content-Type": CONTENT_TYPE_JSON}
CONF_LANGUAGE = "language"
CONF_VOICE = "voice"