There is an indendation error while sending emails when the workflow state changes

Traceback with variables (most recent call last):
File “apps/frappe/frappe/email/doctype/notification/notification.py”, line 182, in send
self.send_an_email(doc, context)
self = <Notification: Sales order Workflow email>
doc = <SalesOrder: SO24B25/I/00043 docstatus=1>
context = {‘doc’: <SalesOrder: SO24B25/I/00043 docstatus=1>, ‘alert’: <Notification: Sales order Workflow email>, ‘comments’: None}
File “apps/frappe/frappe/email/doctype/notification/notification.py”, line 258, in send_an_email
recipients, cc, bcc = self.get_list_of_recipients(doc, context)
self = <Notification: Sales order Workflow email>
doc = <SalesOrder: SO24B25/I/00043 docstatus=1>
context = {‘doc’: <SalesOrder: SO24B25/I/00043 docstatus=1>, ‘alert’: <Notification: Sales order Workflow email>, ‘comments’: None}
formataddr = <function formataddr at 0x7f8e2dfcac20>
make_communication = <function _make at 0x7f8e29330550>
subject = ‘Take appropriate action on Sales OrderSO24B25/I/00043 ’
attachments = None
File “apps/frappe/frappe/email/doctype/notification/notification.py”, line 321, in get_list_of_recipients
if not frappe.safe_eval(recipient.condition, None, context):
self = <Notification: Sales order Workflow email>
doc = <SalesOrder: SO24B25/I/00043 docstatus=1>
context = {‘doc’: <SalesOrder: SO24B25/I/00043 docstatus=1>, ‘alert’: <Notification: Sales order Workflow email>, ‘comments’: None}
recipients =
cc =
bcc =
recipient = <NotificationRecipient: a90678241a parent=Sales order Workflow email>
File “apps/frappe/frappe/init.py”, line 2322, in safe_eval
return safe_eval(code, eval_globals, eval_locals)
code = ’ doc.workflow_state==“Pending Approval from Customer Support1”’
eval_globals = None
eval_locals = {‘doc’: <SalesOrder: SO24B25/I/00043 docstatus=1>, ‘alert’: <Notification: Sales order Workflow email>, ‘comments’: None}
safe_eval = <function safe_eval at 0x7f8e29fe6a70>
File “apps/frappe/frappe/utils/safe_exec.py”, line 114, in safe_eval
_validate_safe_eval_syntax(code)
code = ’ doc.workflow_state==“Pending Approval from Customer Support1”’
eval_globals = None
eval_locals = {‘doc’: <SalesOrder: SO24B25/I/00043 docstatus=1>, ‘alert’: <Notification: Sales order Workflow email>, ‘comments’: None}
unicodedata = <module ‘unicodedata’ (built-in)>
File “apps/frappe/frappe/utils/safe_exec.py”, line 132, in _validate_safe_eval_syntax
tree = ast.parse(code, mode=“eval”)
code = ’ doc.workflow_state==“Pending Approval from Customer Support1”’
BLOCKED_NODES = (<class ‘ast.NamedExpr’>,)
File “/usr/lib/python3.10/ast.py”, line 50, in parse
return compile(source, filename, mode, flags,
source = ’ doc.workflow_state==“Pending Approval from Customer Support1”’
filename = ‘’
mode = ‘eval’
type_comments = False
feature_version = -1
flags = 1024
builtins.IndentationError: unexpected indent (, line 1)