From 22f85538ccaf4ffa27c3c7d9501dd14aededc524 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 16 Jun 2016 21:58:42 +0100 Subject: [PATCH] stage now working again --- openlp/core/api/http/endpoint/__init__.py | 3 +++ openlp/core/api/http/endpoint/controller.py | 3 ++- openlp/core/api/http/endpoint/core.py | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openlp/core/api/http/endpoint/__init__.py b/openlp/core/api/http/endpoint/__init__.py index aa5ee175e..0fa61031f 100644 --- a/openlp/core/api/http/endpoint/__init__.py +++ b/openlp/core/api/http/endpoint/__init__.py @@ -53,3 +53,6 @@ class Endpoint(object): self.add_url_route(rule, func, method, secure) return func return decorator + +from .controller import controller_endpoint +from .core import stage_endpoint \ No newline at end of file diff --git a/openlp/core/api/http/endpoint/controller.py b/openlp/core/api/http/endpoint/controller.py index 9260129d8..aff6a260d 100644 --- a/openlp/core/api/http/endpoint/controller.py +++ b/openlp/core/api/http/endpoint/controller.py @@ -24,7 +24,8 @@ import os import urllib.request import urllib.error -from openlp.core.api import Endpoint, register_endpoint +from openlp.core.api.http.endpoint import Endpoint +from openlp.core.api.http import register_endpoint from openlp.core.common import Registry, AppLocation, Settings from openlp.core.lib import ItemCapabilities, create_thumb diff --git a/openlp/core/api/http/endpoint/core.py b/openlp/core/api/http/endpoint/core.py index 7f20c11a7..ab90dcfb9 100644 --- a/openlp/core/api/http/endpoint/core.py +++ b/openlp/core/api/http/endpoint/core.py @@ -1,7 +1,8 @@ import logging import os -from openlp.core.api import Endpoint, register_endpoint +from openlp.core.api.http.endpoint import Endpoint +from openlp.core.api.http import register_endpoint from openlp.core.common import AppLocation, UiStrings, translate