diff --git a/python/ee/data.py b/python/ee/data.py index e21fbb8d5..80657c3d7 100644 --- a/python/ee/data.py +++ b/python/ee/data.py @@ -2274,10 +2274,10 @@ def create_assets( continue if mk_parents: parts = asset_id.split('/') - # We don't need to create the namespace and the user's/project's folder. - if len(parts) > 2: - path = parts[0] + '/' + parts[1] + '/' - for part in parts[2:-1]: + # skip the base folder "projects//assets/" + if len(parts) > 3: + path = '/'.join(parts[:3]) + '/' + for part in parts[3:-1]: path += part if getInfo(path) is None: createAsset({'type': ASSET_TYPE_FOLDER_CLOUD}, path)