Your Name 3 years ago
parent
commit
c2c997be91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      process_webp_from_db.py

+ 1 - 1
process_webp_from_db.py

@@ -18,7 +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/')
-    sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h+'" where adid="'+str(adid)+'"'
+    sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h_url+'" where adid="'+str(adid)+'"'
     print(sqlcmd)
 #    db2.query()
     break