announcements: remove stale code

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-03-24 17:40:15 -04:00
parent 1bdedd009f
commit 4b0685852e
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A
1 changed files with 0 additions and 8 deletions

View File

@ -41,14 +41,6 @@ class Announcements:
self._handle_update_timer
)
self.request_lock = asyncio.Lock()
dev_path = config.get("dev_path", None)
if dev_path is not None:
res_path = pathlib.Path(dev_path).expanduser().resolve()
if not res_path.is_dir():
raise config.error(
f"[announcements] - No folder at path '{dev_path}'")
logging.info(f"Annoucments dev path enabled - {res_path}")
self.subscriptions: Dict[str, RssFeed] = {
"moonraker": RssFeed(config, "moonraker", self.entry_mgr),
"klipper": RssFeed(config, "klipper", self.entry_mgr)