We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 402bb55 + e4319ba commit f7b01e8Copy full SHA for f7b01e8
2 files changed
README.md
@@ -61,6 +61,6 @@ asset = client.create_asset(
61
)
62
63
# Upload the file at the target asset.
64
-file = open('sample.mp4')
+file = open("sample.mp4", "rb")
65
client.upload(asset, file)
66
```
examples/upload_asset.py
@@ -14,7 +14,7 @@ def main():
14
filesize=filesize
15
16
17
- file = open('demo.mov')
+ file = open("demo.mov", "rb")
18
19
20
if __name__ == "__main__":
0 commit comments