Your Name 3 jaren geleden
bovenliggende
commit
3515fa373d
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      step_question/apis/main.py
  2. BIN
      step_question/apis/static/images/qr.png

+ 2 - 1
step_question/apis/main.py

@@ -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())

BIN
step_question/apis/static/images/qr.png