From 5f5bfe473c9f68186e1dd11e5319ffb1e56bf34d Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 15 Oct 2024 15:00:43 +0200 Subject: [PATCH] Fix documentation indentation --- smbclientng/core/SMBSession.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smbclientng/core/SMBSession.py b/smbclientng/core/SMBSession.py index 005b0c0..d2ffc57 100644 --- a/smbclientng/core/SMBSession.py +++ b/smbclientng/core/SMBSession.py @@ -250,8 +250,8 @@ def find(self, paths=[], callback=None, exclusion_rules=[]): paths (list, optional): A list of paths to start the search from. Defaults to an empty list. callback (function, optional): A function to be called on each entry found. The function should accept three arguments: the entry object, the full path of the entry, and the current depth of recursion. Defaults to None. - exclusion_rules (list, optional): A list of exclusion rules, each being a dictionary with keys: - 'dirname', 'depth', 'case_sensitive'. + exclusion_rules (list, optional): A list of exclusion rules, each being a dictionary with keys: + 'dirname', 'depth', 'case_sensitive'. Note: If the callback function is None, the method will print an error message and return without performing any action.