chore(block devices): edit comment to be more correct

This commit is contained in:
Houkime 2024-09-13 12:31:30 +00:00
parent 6340ad348c
commit faa4402030

View file

@ -54,8 +54,7 @@ class BlockDevice:
def update_from_dict(self, device_dict: dict):
self.name = device_dict["name"]
self.path = device_dict["path"]
# lsblk gives us json with strings. Awkwardly.
# TODO: maybe parse it more fully?
# TODO: maybe parse it as numbers, as in origin?
self.fsavail = str(device_dict["fsavail"])
self.fssize = str(device_dict["fssize"])
self.fstype = device_dict["fstype"]