diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index d1c4db1..978b4a6 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -59,7 +59,7 @@ class image_classifier: self._init_log() if not os.access(directory, os.R_OK): self._log.error(f"Unable to access directory '{directory}'") - exit 1 + exit(1) self.faces_directory = faces_directory self.directory = directory self.known_people = self.load_known_people()