Skip to content

Commit a601983

Browse files
HariGS-DBHariGS-DB
authored andcommitted
fixed repos issue
1 parent 2acb758 commit a601983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GroupMigration/WSGroupMigration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def getSingleFolderList(self, path:str, depth:int) -> dict:
844844
return (path, subFolders, notebooks, files)
845845

846846
for c in resFolderJson['objects']:
847-
if c['object_type']=="DIRECTORY" and c['path'].startswith('/Repos') == False and c['path'].startswith('/Shared') == False and c['path'].endswith('/Trash') == False:
847+
if c['object_type']=="DIRECTORY" and c['path'].startswith('/Shared') == False and c['path'].endswith('/Trash') == False:
848848
subFolders[c['object_id']] = c['path']
849849
elif c['object_type']=="NOTEBOOK" and c['path'].startswith('/Repos') == False and c['path'].startswith('/Shared') == False:
850850
notebooks[c['object_id']] = c['path']

0 commit comments

Comments
 (0)