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