From 449f04bf9d0109e37c824481ca5f9f96e20482ff Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 6 Sep 2021 23:42:26 +0300 Subject: [PATCH] Fix join --- 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 5779c94..072cbc2 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -60,7 +60,7 @@ class image_classifier: with os.scandir(directory) as directory_item: for entry in directory_item: if not entry.name.startswith('.') and entry.is_file(): - self.process_file(os.path.joing(directory, entry.name)) + self.process_file(os.path.join(directory, entry.name)) def process_file(self, file): ''' Process a file, find faces, add EXIF information and