diff --git a/kenallclient/__init__.py b/kenallclient/__init__.py index c9b702a..1812baa 100644 --- a/kenallclient/__init__.py +++ b/kenallclient/__init__.py @@ -3,7 +3,8 @@ def main() -> None: import dataclasses import os from pprint import pprint - from .client import KenAllClient + + from kenallclient.client import KenAllClient parser = argparse.ArgumentParser() parser.add_argument("--apikey", default=os.environ.get("KENALL_APIKEY")) diff --git a/kenallclient/__main__.py b/kenallclient/__main__.py index 3365120..f2b2550 100644 --- a/kenallclient/__main__.py +++ b/kenallclient/__main__.py @@ -1,3 +1,3 @@ -from . import main +from kenallclient import main main() diff --git a/kenallclient/client.py b/kenallclient/client.py index 56dd871..cd680c8 100644 --- a/kenallclient/client.py +++ b/kenallclient/client.py @@ -1,6 +1,6 @@ -import urllib.request -import urllib.parse import json +import urllib.parse +import urllib.request from typing import Dict from kenallclient.model import KenAllResult