From 5c0622d66927654aa6602daffab343ce586f36f2 Mon Sep 17 00:00:00 2001 From: Max Ziermann Date: Fri, 6 Mar 2020 16:52:19 +0100 Subject: [PATCH] Move APIHandler to a package --- Camera.py | 2 +- APIHandler.py => api/APIHandler.py | 0 api/__init__.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename APIHandler.py => api/APIHandler.py (100%) create mode 100644 api/__init__.py diff --git a/Camera.py b/Camera.py index 1e8a52b..f4d6e9e 100644 --- a/Camera.py +++ b/Camera.py @@ -1,4 +1,4 @@ -from APIHandler import APIHandler +from api import APIHandler class Camera(APIHandler): diff --git a/APIHandler.py b/api/APIHandler.py similarity index 100% rename from APIHandler.py rename to api/APIHandler.py diff --git a/api/__init__.py b/api/__init__.py new file mode 100644 index 0000000..b8cf11e --- /dev/null +++ b/api/__init__.py @@ -0,0 +1 @@ +from .APIHandler import APIHandler \ No newline at end of file