diff --git a/labthings_client/affordances.py b/labthings_client/affordances.py index 5a70105..b9b2f49 100644 --- a/labthings_client/affordances.py +++ b/labthings_client/affordances.py @@ -1,8 +1,8 @@ import requests -from td_parsers import find_self_link -from json_typing import json_to_typing_basic -from tasks import ActionTask +from .td_parsers import find_self_link +from .json_typing import json_to_typing_basic +from .tasks import ActionTask class Affordance: def __init__(self, affordance_description: dict, base_url: str = ""): diff --git a/labthings_client/thing.py b/labthings_client/thing.py index a4b84ba..da39fd4 100644 --- a/labthings_client/thing.py +++ b/labthings_client/thing.py @@ -1,8 +1,8 @@ import requests from ipaddress import IPv4Address, IPv6Address -from utilities import AttributeDict -from affordances import Property, Action +from .utilities import AttributeDict +from .affordances import Property, Action class FoundThing: def __init__(self, name, addresses, port, path, protocol="http"):