Skip to content

Commit c8598b0

Browse files
committed
chore: shared_with_me flag isnt required anymore
1 parent 41d5ed7 commit c8598b0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

assets/google_drive_opener.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ def _get_rclone_file(self, file_path):
6161
file_name = os.path.basename(relative_path)
6262

6363
cmd = ['rclone', 'lsjson', f'{drive_name}:{file_path}']
64-
# special case for shared_with_me
65-
if drive_name.lower() == "shared_with_me":
66-
cmd.append('--drive-shared-with-me')
67-
6864
result = subprocess.run(cmd, capture_output=True, text=True, check=True)
6965
files = json.loads(result.stdout)
7066

0 commit comments

Comments
 (0)