chore: py formatting

This commit is contained in:
Timothy J. Baek 2024-03-31 01:13:39 -07:00
parent d4fabeee3c
commit 5af8d0612a
12 changed files with 77 additions and 45 deletions

View file

@ -2,6 +2,7 @@ import json
import requests
from config import VERSION, WEBUI_FAVICON_URL, WEBUI_NAME
def post_webhook(url: str, message: str, event_data: dict) -> bool:
try:
payload = {}
@ -43,4 +44,4 @@ def post_webhook(url: str, message: str, event_data: dict) -> bool:
return True
except Exception as e:
print(e)
return False
return False