Your Name 3 년 전
부모
커밋
96eb50475d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      process_webp_from_db.py

+ 1 - 0
process_webp_from_db.py

@@ -18,6 +18,7 @@ for c in cursor:
     print(cmd)
     os.system(cmd)
     mobile_h_url=mobile_h.replace('/home/hhh-images/','https://images.hhh.com.tw/')
+    mobile_h_url+=".webp"
     sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h_url+'" where adid="'+str(adid)+'"'
     print(sqlcmd)
 #    db2.query()