We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11c15f8 commit 08db009Copy full SHA for 08db009
1 file changed
src/client/client.py
@@ -237,7 +237,7 @@ def _get_sharepoint_library_id(self, library_name):
237
libraries = self._get_sharepoint_document_libraries()
238
library = next((lib for lib in libraries if lib['name'] == library_name), None)
239
if library is None:
240
- library = next((lib for lib in libraries if lib['webUrl'].split("/")[-1] == library_name), None)
+ library = next((lib for lib in libraries if lib['webUrl'].split("/")[-1] == library_name), None)
241
242
raise OneDriveClientException(f"Library '{library_name}' not found")
243
return library['id']
0 commit comments