From 6878cacd26240605c6350e0d823328773d8f8718 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 23 May 2020 14:03:59 +0300 Subject: [PATCH] Fix imports.. again :) --- pyairctrl/airctrl.py | 6 +++--- pyairctrl/cli/coap_air_cli.py | 2 +- pyairctrl/cli/http_air_cli.py | 2 +- pyairctrl/cli/v_107_cli.py | 2 +- pyairctrl/cloudctrl.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyairctrl/airctrl.py b/pyairctrl/airctrl.py index 80c9d02..fa329d1 100755 --- a/pyairctrl/airctrl.py +++ b/pyairctrl/airctrl.py @@ -3,9 +3,9 @@ import argparse import sys -from pyairctrl.cli.coap_air_cli import CoAPAirCli -from pyairctrl.cli.http_air_cli import HTTPAirCli -from pyairctrl.cli.v_107_cli import Version107Cli +from .cli.coap_air_cli import CoAPAirCli +from .cli.http_air_cli import HTTPAirCli +from .cli.v_107_cli import Version107Cli def main(): diff --git a/pyairctrl/cli/coap_air_cli.py b/pyairctrl/cli/coap_air_cli.py index cb11a66..317b1ca 100644 --- a/pyairctrl/cli/coap_air_cli.py +++ b/pyairctrl/cli/coap_air_cli.py @@ -2,7 +2,7 @@ # pylint: disable=invalid-name, missing-class-docstring, missing-function-docstring -from pyairctrl.client.coap_air_client import CoAPAirClient +from ..client.coap_air_client import CoAPAirClient class CoAPAirCli: diff --git a/pyairctrl/cli/http_air_cli.py b/pyairctrl/cli/http_air_cli.py index 251b597..df761ac 100644 --- a/pyairctrl/cli/http_air_cli.py +++ b/pyairctrl/cli/http_air_cli.py @@ -5,7 +5,7 @@ import pprint import urllib.request -from pyairctrl.client.http_air_client import HTTPAirClient +from ..client.http_air_client import HTTPAirClient class HTTPAirCli: diff --git a/pyairctrl/cli/v_107_cli.py b/pyairctrl/cli/v_107_cli.py index 74ee02a..402fc95 100644 --- a/pyairctrl/cli/v_107_cli.py +++ b/pyairctrl/cli/v_107_cli.py @@ -4,7 +4,7 @@ import pprint -from pyairctrl.client.v_107_client import Version107Client +from ..client.v_107_client import Version107Client from .status_transformer import STATUS_TRANSFORMER diff --git a/pyairctrl/cloudctrl.py b/pyairctrl/cloudctrl.py index cccb676..500edbf 100755 --- a/pyairctrl/cloudctrl.py +++ b/pyairctrl/cloudctrl.py @@ -12,7 +12,7 @@ import urllib.request import urllib.parse -from pyairctrl.client.http_air_client import HTTPAirClient +from ..client.http_air_client import HTTPAirClient def parse_attr(str, key): p = re.compile('%s=\"(.+?)\"' % key)