From 36c80b77a446bf1995dc29bcaff46c29f1be0d13 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Wed, 1 May 2024 17:43:19 +0200 Subject: [PATCH] fix: Set value default True for Truthy cls --- frappe/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/__init__.py b/frappe/utils/__init__.py index 5677e990fd..304cedcfc0 100644 --- a/frappe/utils/__init__.py +++ b/frappe/utils/__init__.py @@ -1171,7 +1171,7 @@ class CallbackManager: class Truthy: - def __init__(self, value=UNSET, context=UNSET): + def __init__(self, value=True, context=UNSET): self.value = value self.context = context