|
@@ -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
|
|
|
|