index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Richard Neumann <mail@richard-neumann.de> | 2021-10-21 22:48:52 +0200 |
---|---|---|
committer | Richard Neumann <mail@richard-neumann.de> | 2021-10-21 22:48:52 +0200 |
commit | ca25c356b687ffe9a2b63494de97607e8adc68ca (patch) | |
tree | 75e44f6adaaf75ee595258401c3181c9102129d3 /archinstall/lib/hardware.py | |
parent | ba725517fd290a60cd4e1ea570dbbf94a47ede05 (diff) |
-rw-r--r-- | archinstall/lib/hardware.py | 6 |
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py index a8f87b80..e4308638 100644 --- a/archinstall/lib/hardware.py +++ b/archinstall/lib/hardware.py @@ -152,15 +152,15 @@ def product_name() -> Optional[str]: return product.read().strip() -def mem_available() -> Optional[str]: +def mem_available() -> Optional[int]: return meminfo('MemAvailable') -def mem_free() -> Optional[str]: +def mem_free() -> Optional[int]: return meminfo('MemFree') -def mem_total() -> Optional[str]: +def mem_total() -> Optional[int]: return meminfo('MemTotal') |