Browse Source

perf: 优化签名

pull/7066/head
ibuler 3 years ago committed by 老广
parent
commit
1f50a2fe33
  1. 4
      apps/notifications/notifications.py

4
apps/notifications/notifications.py

@ -140,10 +140,12 @@ class Message(metaclass=MessageType):
msg = self.get_html_msg()
msg['message'] = textwrap.dedent("""
{}
<small>
<br />
<br />
<small>{}</small>
{}
</small>
""").format(msg['message'], self.signature)
return msg

Loading…
Cancel
Save