mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-21 19:56:42 +00:00
Update flask_server.py
This commit is contained in:
parent
a70b33ce13
commit
5158c5f359
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user