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