mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 14:45:23 +00:00
Working mail alerts + alert system tweaks
This commit is contained in:
@@ -7,8 +7,13 @@ class DiscordWebhookAlert(BaseAlert):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def create_from_config(self, config):
|
||||
pass
|
||||
@classmethod
|
||||
def create_from_env(self):
|
||||
return None
|
||||
|
||||
def send(self, self, subject=None, attachment=None, alert_type=ALERT_ERROR):
|
||||
@property
|
||||
def properly_configured(self) -> bool:
|
||||
return False
|
||||
|
||||
def send(self, subject: str = None, attachment: str = None, alert_type: str = None):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user