From 337c55f63f155556350cb17cc72940f352578078 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 2 May 2022 14:37:04 +0300 Subject: [PATCH] fix facility --- image_classifier/image_classifier.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index 238c8ca..88d23d6 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -117,7 +117,7 @@ class image_classifier: person_path = os.path.join(self.people_folder, person, folder) if not os.path.exists(person_path): os.makedirs(person_path) - self._log.debug(f"Copying file '{file}' to '{person_path}'...") + self._log.info(f"Copying file '{file}' to '{person_path}'...") shutil.copy(file, person_path) if not self.no_move: self._log.info(f"Moving file '{file}' to '{new_path}'...") @@ -255,8 +255,9 @@ class image_classifier: identify people. Filename would be used as the name for the person. Just one person per picture.") @click.option("--directory", "-d", required=True, help="Folder with the pictures to classify.") @click.option("--no-move", "-n", is_flag=True, help="Don't move files, just add people's tag.") -@click.option('--people-folder', '-p', help="Define a folder for people's folders and copy pictures \ -to each person's folder. Be sure to have deduplication in the filesystem to avoid using too much storage.") +@click.option('--people-folder', '-p', help="Define a folder for people's folders and copy \ +pictures to each person's folder. Be sure to have deduplication in the filesystem to avoid using \ +too much storage.") @click_config_file.configuration_option() def __main__(debug_level, log_file, faces_directory, directory, no_move, people_folder): return image_classifier(debug_level, log_file, faces_directory, directory, no_move,