From c6a1e69088d0f427bb892c283c593a57c8cd7cd6 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 17 May 2022 11:15:59 +0300 Subject: [PATCH] fix def --- image_classifier/image_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index 978b4a6..8913f58 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -76,7 +76,7 @@ class image_classifier: if not entry.name.startswith('.') and entry.is_file(): self.process_file(entry.path) - def recursive_scandir(path, ignore_hidden_files=True): + def recursive_scandir(self, path, ignore_hidden_files=True): files = [] try: for file in os.scandir(path):