Fix debug message for unknown device type (#2472)

This commit is contained in:
correctmost 2024-04-23 21:32:57 +00:00 committed by GitHub
parent 473074a945
commit bf368a94f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ class _DeviceInfo:
elif device.type in parted.devices:
device_type = parted.devices[device.type]
else:
debug(f'Device code not unknown: {device.type}')
debug(f'Device code unknown: {device.type}')
device_type = parted.devices[parted.DEVICE_UNKNOWN]
sector_size = SectorSize(device.sectorSize, Unit.B)