diff --git a/src/snagflash/bmaptools/BmapCopy.py b/src/snagflash/bmaptools/BmapCopy.py index 8c48e88..b8ad4fe 100644 --- a/src/snagflash/bmaptools/BmapCopy.py +++ b/src/snagflash/bmaptools/BmapCopy.py @@ -189,7 +189,7 @@ def __init__(self, image, bmap=None, image_size=None): self._f_bmap_path = None self._f_image = image - self._image_path = image.name + self._image_path = getattr(image, "name", "compressed image") # The bmap file checksum type and length self._cs_type = None