Skip to content

Commit bf93345

Browse files
committed
pyuhoo: Ensure package imports use relative path.
1 parent fdc7cda commit bf93345

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/uhoo/pyuhoo/pyuhoo/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import click
55
from aiohttp import ClientSession
66

7-
from pyuhoo import Client
7+
from .client import Client
88

99

1010
async def init_client(username, password, websession) -> Client:

custom_components/uhoo/pyuhoo/pyuhoo/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from aiohttp import ClientSession
66

7-
from pyuhoo.errors import ForbiddenError, UhooError, UnauthorizedError
7+
from .errors import ForbiddenError, UhooError, UnauthorizedError
88

99
from .api import API
1010
from .consts import APP_VERSION

0 commit comments

Comments
 (0)