Skip to content

Commit

Permalink
Fixed relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Jun 17, 2020
1 parent f3d871b commit a0a4b0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions labthings_client/affordances.py
Original file line number Diff line number Diff line change
@@ -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 = ""):
Expand Down
4 changes: 2 additions & 2 deletions labthings_client/thing.py
Original file line number Diff line number Diff line change
@@ -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"):
Expand Down

0 comments on commit a0a4b0b

Please sign in to comment.