From f8c6a8b9d6b2dd3146d8344f27af5f93ec69f608 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Thu, 25 Jul 2024 17:29:16 +0000 Subject: [PATCH] refactor(utils): maybe make fsavail an int? --- selfprivacy_api/utils/block_devices.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfprivacy_api/utils/block_devices.py b/selfprivacy_api/utils/block_devices.py index 6b90091..2bf103c 100644 --- a/selfprivacy_api/utils/block_devices.py +++ b/selfprivacy_api/utils/block_devices.py @@ -54,6 +54,7 @@ class BlockDevice: def update_from_dict(self, device_dict: dict): self.name = device_dict["name"] self.path = device_dict["path"] + # why is it string? self.fsavail = str(device_dict["fsavail"]) self.fssize = str(device_dict["fssize"]) self.fstype = device_dict["fstype"]