From 57c3d9ec49cf1c403b3c921366c7cf6636b0ff2a Mon Sep 17 00:00:00 2001 From: anxuae Date: Wed, 30 Oct 2019 21:46:37 +0100 Subject: [PATCH] Ease import Subscriber class --- cups_notify/__init__.py | 4 +++- cups_notify/listener.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cups_notify/__init__.py b/cups_notify/__init__.py index 1b3e625..b71e793 100644 --- a/cups_notify/__init__.py +++ b/cups_notify/__init__.py @@ -6,4 +6,6 @@ LOGGER = logging.getLogger(__name__) -__version__ = "0.0.3" +__version__ = "0.0.4" + +from cups_notify.subscriber import Subscriber diff --git a/cups_notify/listener.py b/cups_notify/listener.py index 4ae4814..7a53016 100644 --- a/cups_notify/listener.py +++ b/cups_notify/listener.py @@ -89,6 +89,7 @@ def start(self): """ if self._thread: raise EnvironmentError("Server is already running") + LOGGER.info("Starting RSS feed listener at %s", self._rss_uri) self._thread = threading.Thread(target=self.serve_forever) self._thread.daemon = True self._thread.start()