Notification rework v0.3

This commit is contained in:
Jokob-sk
2023-10-07 13:00:28 +11:00
parent eb7b7b57ab
commit 695f1593c6
18 changed files with 351 additions and 199 deletions

View File

@@ -2,7 +2,7 @@
import json
import subprocess
import conf
from helper import noti_struc
from helper import noti_obj
from logger import logResult, mylog
#-------------------------------------------------------------------------------
@@ -14,7 +14,7 @@ def check_config():
return True
#-------------------------------------------------------------------------------
def send(msg: noti_struc):
def send(msg: noti_obj):
html = msg.html
text = msg.text