|
@@ -69,7 +69,7 @@ def hhh_send_mail(email,coffee=False,lineid=None):
|
|
|
msg.attach(body)
|
|
|
|
|
|
# filename = "coupon.png" # In same directory as script
|
|
|
- filename = "qr.png" # In same directory as script
|
|
|
+ filename = "static/images/qr.png" # In same directory as script
|
|
|
|
|
|
with open(filename, "rb") as attachment:
|
|
|
part = MIMEApplication(attachment.read())
|