Use optimized DM-Logo_email.png (500px wide, 16KB) for email logo
This commit is contained in:
parent
72fa09a6e1
commit
8d9c86e1b7
1 changed files with 6 additions and 1 deletions
7
app.py
7
app.py
|
|
@ -300,12 +300,17 @@ def send_email(to, subject, body, attachments=None, inline_images=None):
|
|||
|
||||
def build_signature_images():
|
||||
"""Return inline image tuple list for the Dionysis Media logo."""
|
||||
logo_path = Path('/mnt/Storage/DM-Logo_compress.png')
|
||||
logo_path = Path('/mnt/Storage/DM-Logo_email.png')
|
||||
if not logo_path.exists():
|
||||
return []
|
||||
return [(str(logo_path), 'dm-logo')]
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Public customer routes
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Public customer routes
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Reference in a new issue