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):