diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index 79b44ed..ec42404 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -94,7 +94,10 @@ class image_classifier: self._log.debug(f"New path: {new_path}") os.makedirs(os.path.dirname(new_path), exist_ok=True) if new_path: + self._log.info(f"Moving file '{file}' to '{new_path}'...") shutil.move(file, new_path) + else: + self._log.debug('No new path, so no moving.') else: self._log.debug("Doesn't seem to be an image.")