image-minimizer: Fix decode() usage

Related: rhbz#1955674
This commit is contained in:
Brian C. Lane 2021-05-04 12:09:23 -07:00
parent 427e364388
commit 17cb4f879f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class ImageMinimizer:
not_found = True
for hdr in mi:
not_found = False
rpms.add(hdr['name'].decode("utf8"))
rpms.add(hdr['name'])
if self.verbose and not_found:
print("%s package not found" % pattern)