Skip to content

Commit

Permalink
Ease import Subscriber class
Browse files Browse the repository at this point in the history
  • Loading branch information
anxuae committed Oct 30, 2019
1 parent 0a45fa2 commit 57c3d9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cups_notify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@

LOGGER = logging.getLogger(__name__)

__version__ = "0.0.3"
__version__ = "0.0.4"

from cups_notify.subscriber import Subscriber
1 change: 1 addition & 0 deletions cups_notify/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 57c3d9e

Please sign in to comment.