@@ -12,6 +12,6 @@ for c in cursor:
mobile_h=c['adlogo_mobile'].replace('https://images.hhh.com.tw/','/home/hhh-images/')
print(mobile_h)
print(os.path.exists(mobile_h))
-
+ cmd='cwebp '+mobile_h+" -o "+mobile_h+".webp"
+ print(cmd)