Skip to content

Commit 2f4446c

Browse files
authored
Merge pull request #308 from songfei9315/patch-1
fix cmd error
2 parents 63434df + bb45dcf commit 2f4446c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/pfop_watermark.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'http://developer.qiniu.com/resource/logo-2.jpg')
2020

2121
# 视频水印参数
22-
fops = 'avthumb/mp4/' + base64URL
22+
fops = 'avthumb/mp4/wmImage/'+base64URL
2323

2424
# 可以对转码后的文件进行使用saveas参数自定义命名,当然也可以不指定文件会默认命名并保存在当前空间
2525
saveas_key = urlsafe_base64_encode('目标Bucket_Name:自定义文件key')
@@ -29,4 +29,5 @@
2929
ops.append(fops)
3030
ret, info = pfop.execute(key, ops, 1)
3131
print(info)
32-
assert ret['persistentId']
32+
assert ret['persistentId']
33+

0 commit comments

Comments
 (0)