notifier: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2023-10-07 10:31:58 -04:00
1 parent 0e7c759bde
commit bfc7ea3635
1 file changed
-2
-2
View File
@@ -23,7 +23,6 @@ if TYPE_CHECKING:
from ..confighelper import ConfigHelper
from ..common import WebRequest
from .file_manager.file_manager import FileManager
from .http_client import HttpClient
from .klippy_apis import KlippyAPI as APIComp
class Notifier:
@@ -120,7 +119,6 @@ class Notifier:
name = web_request.get_str("name")
if name not in self.notifiers:
raise self.server.error(f"Notifier '{name}' not found", 404)
client: HttpClient = self.server.lookup_component("http_client")
notifier = self.notifiers[name]
kapis: APIComp = self.server.lookup_component('klippy_apis')