Skip to content

Commit

Permalink
Remove duplicate sector_size
Browse files Browse the repository at this point in the history
  • Loading branch information
codefiles committed Sep 27, 2024
1 parent 15ccdd3 commit a74891e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions archinstall/lib/disk/device_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,6 @@ def from_disk(cls, disk: Disk) -> _DeviceInfo:
sector_size = SectorSize(device.sectorSize, Unit.B)
free_space = [DeviceGeometry(g, sector_size) for g in disk.getFreeSpaceRegions()]

sector_size = SectorSize(device.sectorSize, Unit.B)

return _DeviceInfo(
model=device.model.strip(),
path=Path(device.path),
Expand Down

0 comments on commit a74891e

Please sign in to comment.