Your Name 3 anni fa
parent
commit
0aa142600a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      process_webp_from_db.py

+ 1 - 1
process_webp_from_db.py

@@ -16,7 +16,7 @@ for c in cursor:
     print(os.path.exists(mobile_h))
     cmd='cwebp '+mobile_h+" -o "+mobile_h+".webp"
     print(cmd)
-    sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h+'" where adid="'+adid+'"'
+    sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h+'" where adid="'+str(adid)+'"'
 #    db2.query()
     break