Skip to content

Commit

Permalink
for anon
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Durant committed Jul 19, 2021
1 parent e36f5c4 commit d374a21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gdrivefs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

DIR_MIME_TYPE = 'application/vnd.google-apps.folder'
fields = ','.join(['name', 'id', 'size', 'description', 'trashed', 'mimeType',
'version', 'createdTime', 'modifiedTime'])
'version', 'createdTime', 'modifiedTime', 'capabilities'])


def _normalize_path(prefix, name):
Expand Down Expand Up @@ -69,7 +69,8 @@ def __init__(self, root_file_id=None, token="browser",
self.spaces = spaces
self.root_file_id = root_file_id or 'root'
self.connect(method=token)
self.ls("")
if token != "anon":
self.ls("")

def connect(self, method=None):
if method == 'browser':
Expand Down

0 comments on commit d374a21

Please sign in to comment.