diff --git a/gramps/plugins/tool/check.py b/gramps/plugins/tool/check.py index ce9ac77cd..fddb58753 100644 --- a/gramps/plugins/tool/check.py +++ b/gramps/plugins/tool/check.py @@ -1813,10 +1813,7 @@ class CheckIntegrity(object): self.progress.step() ObjectId = handle2internal(bObjectId) obj = self.db.get_object_from_handle(ObjectId) - if os.path.isabs(obj.path): - full_path = obj.path - else: - full_path = os.path.join(self.db.get_mediapath(), obj.path) + full_path = media_path_full(self.db, obj.get_path()) new_checksum = create_checksum(full_path) if new_checksum != obj.checksum: logging.info('checksum: updating ' + obj.gramps_id)