feat: lint fixed

This commit is contained in:
Tanmoy Sarkar 2024-01-05 08:42:25 +05:30
parent ee8ab3da4a
commit 6c2a30f322

View file

@ -2,8 +2,8 @@ import json
from urllib.parse import urlparse
import frappe
from frappe.utils.response import Response
from frappe import sbool
from frappe.utils.response import Response
from .frappeclient import FrappeClient
@ -171,7 +171,9 @@ class PushNotification:
:return: bool True if enabled, False otherwise.
"""
return sbool(frappe.db.get_single_value("Push Notification Settings", "enable_push_notification_relay"))
return sbool(
frappe.db.get_single_value("Push Notification Settings", "enable_push_notification_relay")
)
def _get_credential(self) -> tuple[str, str]:
"""