Skip to content

Commit aa9026f

Browse files
committed
Formatted a file
1 parent defbef9 commit aa9026f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lufus/block_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,13 +651,13 @@ def write_device_image(src_path: str, device: str, bs: int = 4194304, progress_c
651651
chunk = os.read(src_fd, bs)
652652
if not chunk:
653653
break
654-
654+
655655
bytes_to_write = len(chunk)
656656
bytes_written = 0
657657
while bytes_written < bytes_to_write:
658658
n = os.write(dst_fd, chunk[bytes_written:])
659659
bytes_written += n
660-
660+
661661
written += bytes_to_write
662662
if total > 0 and progress_cb:
663663
pct = int(written * 100 / total)

0 commit comments

Comments
 (0)