mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-17 08:02:36 +00:00
chore(block devices): edit comment to be more correct
This commit is contained in:
parent
6340ad348c
commit
faa4402030
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue