notifier: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-07 10:31:58 -04:00
parent 0e7c759bde
commit bfc7ea3635
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 0 additions and 2 deletions

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')