diff --git a/gramps/gen/utils/file.py b/gramps/gen/utils/file.py index ed6f316f1..957ad0cc7 100644 --- a/gramps/gen/utils/file.py +++ b/gramps/gen/utils/file.py @@ -195,4 +195,6 @@ def create_checksum(full_path): md5sum = hashlib.md5(media_file.read()).hexdigest() except IOError: md5sum = '' + except UnicodeEncodeError: + md5sum = '' return md5sum