Ver Fonte

qrcode url

CJYen há 3 anos atrás
pai
commit
03d5cfb180
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -77,7 +77,7 @@ def handle_follow(event):
         qr.make(fit=True)
 
         img_qr = qr.make_image(fill='black', back_color='white')
-        filename = "ArkCard-web/qrcode/" + real_user_id + '.png'
+        filename = "/var/www/ArkCard-Linebot/ArkCard-web/qrcode/" + real_user_id + '.png'
         img_save = img_qr.save(filename)
 
         # add to db