mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update flask_server.py
This commit is contained in:
@@ -721,7 +721,7 @@ def get_storage_info():
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print("[v0] Note: ZFS not installed")
|
print("[v0] Note: ZFS not installed")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
print(f"[v0] Note: ZFS not available or no pools: {e}")
|
||||||
|
|
||||||
storage_data['used'] = round(total_used / (1024**3), 1)
|
storage_data['used'] = round(total_used / (1024**3), 1)
|
||||||
storage_data['available'] = round(total_available / (1024**3), 1)
|
storage_data['available'] = round(total_available / (1024**3), 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user