Your Name 3 years ago
parent
commit
768a676a0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      step_question/apis/main.py

+ 1 - 1
step_question/apis/main.py

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