mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 19:46:18 +00:00
Update flask_server.py
This commit is contained in:
@@ -1404,10 +1404,6 @@ def get_smart_data(disk_name):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass # If we can't read the file, leave rotation_rate as is
|
pass # If we can't read the file, leave rotation_rate as is
|
||||||
|
|
||||||
except FileNotFoundError:
|
|
||||||
# print(f"[v0] ERROR: smartctl not found - install smartmontools for disk monitoring.")
|
|
||||||
pass
|
|
||||||
|
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
# print(f"[v0] ERROR: smartctl not found - install smartmontools for disk monitoring.")
|
# print(f"[v0] ERROR: smartctl not found - install smartmontools for disk monitoring.")
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user