diff --git a/megamanager/__version__.py b/megamanager/__version__.py index 3ced358..b5fdc75 100644 --- a/megamanager/__version__.py +++ b/megamanager/__version__.py @@ -1 +1 @@ -__version__ = "0.2.1" +__version__ = "0.2.2" diff --git a/megamanager/mega_manager.py b/megamanager/mega_manager.py index bd5f902..d3b6086 100644 --- a/megamanager/mega_manager.py +++ b/megamanager/mega_manager.py @@ -167,6 +167,8 @@ def _compress_image_files(self, local_root): if (file_md5_hash not in self.__compressed_image_files) \ and (file_md5_hash not in self.__unable_to_compress_image_files): self._compress_image_file(file_path=local_file_path) + else: + logger.debug(' Image file already compressed or previously unable to compress: "{}"'.format(local_file_path)) else: raise PathMappingDoesNotExist(' Path mapping does not exist: {}'.format(local_root)) @@ -301,6 +303,8 @@ def _compress_video_files(self, local_root): if (file_md5_hash not in self.__compressed_video_files) \ and (file_md5_hash not in self.__unable_to_compress_video_files): self._compress_video_file(file_path=local_file_path) + else: + logger.debug(' Video file already compressed or previously unable to compress: "{}"'.format(local_file_path)) else: logger.warning(' No files found in path: "{}"'.format(local_root))