Skip to content

Commit 6ee3f98

Browse files
committed
show bytes in MiB
Signed-off-by: Zen <[email protected]>
1 parent a5f92fc commit 6ee3f98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pycpio"
7-
version = "1.1.2"
7+
version = "1.1.3"
88
authors = [
99
{ name="Desultory", email="[email protected]" },
1010
]

src/pycpio/writer/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ def write(self, safe_write=True):
5252
else:
5353
self.logger.warning("File not fsynced, data may not be written to disk: %s" % self.output_file)
5454

55-
self.logger.info("Wrote %d bytes to: %s" % (len(data), self.output_file))
55+
self.logger.info("Wrote %.2f MiB to: %s" % (len(data) / (2 ** 20), self.output_file))
5656

0 commit comments

Comments
 (0)