Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit 8b451bf

Browse files
author
Chris Mayer
committed
Merge pull request #6 from OneDrive/upload-bug
Fixed #4
2 parents f09d62f + c110bdd commit 8b451bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/onedrivesdk/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.1

src/python2/request/item_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def upload(self, local_path):
103103
Returns:
104104
The created entity.
105105
"""
106-
return self.content.request().put(local_path)
106+
return self.content.request().upload(local_path)
107107

108108

109109
def download(self, local_path):

src/python3/request/item_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def upload(self, local_path):
132132
Returns:
133133
The created entity.
134134
"""
135-
return self.content.request().put(local_path)
135+
return self.content.request().upload(local_path)
136136

137137
@asyncio.coroutine
138138
def upload_async(self, local_path):

0 commit comments

Comments
 (0)