Skip to content

Commit ce85cab

Browse files
authored
fix(fs): rename get file args to fsspec spec (#360)
1 parent 84ad6ea commit ce85cab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pydrive2/fs/spec.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,10 @@ def mv(self, path1, path2, maxdepth=None, **kwargs):
573573
# TODO need to invalidate the cache for the old path, see #232
574574
file1.Upload()
575575

576-
def get_file(self, lpath, rpath, callback=None, block_size=None, **kwargs):
577-
item_id = self._get_item_id(lpath)
576+
def get_file(self, rpath, lpath, callback=None, block_size=None, **kwargs):
577+
item_id = self._get_item_id(rpath)
578578
return self._gdrive_get_file(
579-
item_id, rpath, callback=callback, block_size=block_size
579+
item_id, lpath, callback=callback, block_size=block_size
580580
)
581581

582582
@_gdrive_retry

0 commit comments

Comments
 (0)