1
0
Fork 0

Use credentials from settings.py

This commit is contained in:
Robin Hüskes 2024-02-10 14:18:07 +01:00
parent b537d3ed4d
commit 48792763f9
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import sys
from aiohttp import ClientSession
from api import api
from settings import *
_LOGGER: logging.Logger = logging.getLogger(__name__)
_LOGGER.addHandler(logging.StreamHandler(sys.stdout))
@ -23,7 +24,7 @@ async def main() -> None:
try:
async with ClientSession() as websession:
myapi = api.AnkerSolixApi(
"username@domain.com", "password", "de", websession, _LOGGER
USER, PASSWORD, COUNTRY, websession, _LOGGER
)
# show login response