From 6c2a30f322a26b36711d2b7b96d1cb1f76fd6c20 Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Fri, 5 Jan 2024 08:42:25 +0530 Subject: [PATCH] feat: lint fixed --- frappe/push_notification.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frappe/push_notification.py b/frappe/push_notification.py index fe115b81d5..274b65fdeb 100644 --- a/frappe/push_notification.py +++ b/frappe/push_notification.py @@ -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]: """