misc: pylint fix wrong placeholders & substitutions (#52222)
This commit is contained in:
parent
3c2ddb1f22
commit
6ac7eb4a43
|
@ -3100,10 +3100,7 @@ class SendSMSWorkflowStatusItem(WorkflowStatusItem):
|
|||
try:
|
||||
sms_body = template_on_formdata(formdata, self.compute(self.body, render=False))
|
||||
except TemplateError as e:
|
||||
url = formdata.get_url()
|
||||
get_logger().error(
|
||||
'error in template for sms [%s], ' 'sms could not be generated' % (url, str(e))
|
||||
)
|
||||
get_logger().error('error in template for sms [%s], sms could not be generated' % str(e))
|
||||
return
|
||||
|
||||
from .qommon import sms
|
||||
|
|
Loading…
Reference in New Issue