From 4b0685852eababa32af96d55b927730063da5a59 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Thu, 24 Mar 2022 17:40:15 -0400 Subject: [PATCH] announcements: remove stale code Signed-off-by: Eric Callahan --- moonraker/components/announcements.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/moonraker/components/announcements.py b/moonraker/components/announcements.py index 5551c6c..8b28dc0 100644 --- a/moonraker/components/announcements.py +++ b/moonraker/components/announcements.py @@ -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)