diff --git a/app.py b/app.py index 8f94ea1..425058b 100644 --- a/app.py +++ b/app.py @@ -300,17 +300,12 @@ 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_email.png') + logo_path = Path(current_app.root_path) / 'static' / 'DM-Logo_email.png' if not logo_path.exists(): return [] return [(str(logo_path), 'dm-logo')] -# --------------------------------------------------------------------------- -# Public customer routes -# --------------------------------------------------------------------------- - - # --------------------------------------------------------------------------- # Public customer routes # --------------------------------------------------------------------------- diff --git a/static/DM-Logo_email.png b/static/DM-Logo_email.png new file mode 100755 index 0000000..c5dc4ff Binary files /dev/null and b/static/DM-Logo_email.png differ