Skip to content
Merged
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
6 changes: 3 additions & 3 deletions pydrive2/fs/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,10 @@ def mv(self, path1, path2, maxdepth=None, **kwargs):
# TODO need to invalidate the cache for the old path, see #232
file1.Upload()

def get_file(self, lpath, rpath, callback=None, block_size=None, **kwargs):
item_id = self._get_item_id(lpath)
def get_file(self, rpath, lpath, callback=None, block_size=None, **kwargs):
item_id = self._get_item_id(rpath)
return self._gdrive_get_file(
item_id, rpath, callback=callback, block_size=block_size
item_id, lpath, callback=callback, block_size=block_size
)

@_gdrive_retry
Expand Down