mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-19 15:42:13 +02:00
magenta2: adapt to notification factory
This commit is contained in:
@@ -76,7 +76,12 @@ class RemoteLoginHandler:
|
||||
if notifier:
|
||||
self._notifier = notifier
|
||||
else:
|
||||
self._notifier = NotificationFactory.create(http_manager=http_manager)
|
||||
self._notifier = NotificationFactory.create(
|
||||
http_manager=http_manager,
|
||||
provider_name="MagentaTV",
|
||||
success_message="MagentaTV login successful",
|
||||
failure_template="MagentaTV login failed: {reason}",
|
||||
)
|
||||
|
||||
self._current_session: Optional[RemoteLoginSession] = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user