Skip to content

Commit f7b01e8

Browse files
authored
Merge pull request #9 from Frameio/update-docs
update docs
2 parents 402bb55 + e4319ba commit f7b01e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ asset = client.create_asset(
6161
)
6262

6363
# Upload the file at the target asset.
64-
file = open('sample.mp4')
64+
file = open("sample.mp4", "rb")
6565
client.upload(asset, file)
6666
```

examples/upload_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def main():
1414
filesize=filesize
1515
)
1616

17-
file = open('demo.mov')
17+
file = open("demo.mov", "rb")
1818
client.upload(asset, file)
1919

2020
if __name__ == "__main__":

0 commit comments

Comments
 (0)