Skip to content

Commit

Permalink
Merge pull request #23 from bc0403/master
Browse files Browse the repository at this point in the history
fix: README
  • Loading branch information
zbjdonald authored Dec 18, 2023
2 parents 7b9b5ed + 7fbe403 commit ab5fe74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ New: Support osheet and odoc extensions.
file_name = 'test.osheet'
bio = synd.download_file(f'/mydrive/{file_name}')
with open(file_name, 'wb') as f:
f.write(bio)
f.write(bio.getvalue())
```

### Download Synology office file
Expand All @@ -216,7 +216,7 @@ pd.read_excel(bio, sheet_name=None)
# dowloand odoc as docx
bio = synd.download_synology_office_file('/mydrive/test.odoc')
with open('test.docx', 'wb') as f:
f.write(bio)
f.write(bio.getvalue())
```

### Delete file or folder
Expand Down

0 comments on commit ab5fe74

Please sign in to comment.