Skip to content

Commit

Permalink
fix(readme): walk expects absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Feb 12, 2024
1 parent 273dfc2 commit 10a60fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ compatible `GDriveFileSystem`_.
from pydrive2.fs import GDriveFileSystem
# replace `root` with ID of a drive or directory and give service account access to it
fs = GDriveFileSystem("root", client_id=my_id, client_secret=my_secret)
for root, dnames, fnames in fs.walk(""):
for root, dnames, fnames in fs.walk("root"):
...
.. _`GDriveFileSystem`: https://docs.iterative.ai/PyDrive2/fsspec/
Expand Down

0 comments on commit 10a60fc

Please sign in to comment.