Add local proxy

This commit is contained in:
EstrellaXD
2023-04-26 12:16:16 +08:00
parent 85ff3acf3b
commit d26d31635f
5 changed files with 22 additions and 12 deletions

View File

@@ -9,8 +9,6 @@ logger = logging.getLogger(__name__)
class PostNotification:
def __init__(self):
self.token = settings.notification_token
self.notification_url = lambda message: f"https://api.pushbullet.com/v2/{self.token}/{message}"
self.client = self.getClient()
@staticmethod