Issue with sending notifications through a workflow

So I have set up a workflow for a DocType for an approval process. I have set everything up correctly and have set up the notification for this workflow. The email accounts are set up correctly as I have tested and they have successfully sent. When I change the status and save it is supposed to send an email to the Administrator. It saves correctly does not give me a front facing error message, but when I go into my Error Logs I see this:

Failed to send notification
Traceback (most recent call last):
File “apps/frappe/frappe/email/doctype/notification/”, line 138, in send
self.send_an_email(doc, context)
File “apps/frappe/frappe/email/doctype/notification/”, line 211, in send_an_email
recipients, cc, bcc = self.get_list_of_recipients(doc, context)
File “apps/frappe/frappe/email/doctype/notification/”, line 271, in get_list_of_recipients
if not frappe.safe_eval(recipient.condition, None, context):
File “apps/frappe/frappe/”, line 2083, in safe_eval
return eval(code, eval_globals, eval_locals)
File “”, line 0


SyntaxError: unexpected EOF while parsing

I cannot figure it out. I’m using version 13. Thank you in advance.