Skip to content

Commit 08db009

Browse files
committed
Fix Flake8
1 parent 11c15f8 commit 08db009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def _get_sharepoint_library_id(self, library_name):
237237
libraries = self._get_sharepoint_document_libraries()
238238
library = next((lib for lib in libraries if lib['name'] == library_name), None)
239239
if library is None:
240-
library = next((lib for lib in libraries if lib['webUrl'].split("/")[-1] == library_name), None)
240+
library = next((lib for lib in libraries if lib['webUrl'].split("/")[-1] == library_name), None)
241241
if library is None:
242242
raise OneDriveClientException(f"Library '{library_name}' not found")
243243
return library['id']

0 commit comments

Comments
 (0)