Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion smartfile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def download(self, file_to_be_downloaded, perform_download=True):
# download uses shutil.copyfileobj to download, which copies
# the data in chunks
o = open(file_to_be_downloaded, 'wb')
return shutil.copyfileobj(response.raw, o)
return shutil.copyfileobj(response.data, o)

def move(self, src_path, dst_path):
# check destination folder for / at end
Expand Down