__name__ == "__main__"

This commit is contained in:
2025-06-04 21:57:46 -04:00
parent 06d1ea4fb6
commit 6a7b07ebeb

View File

@ -52,6 +52,7 @@ def clock_check_cpu():
elif cpu_temp >= cpu_warning_temp: elif cpu_temp >= cpu_warning_temp:
ntfy_send(f"🌡️ CPU tempature is at a high tempature. {cpu_temp}") ntfy_send(f"🌡️ CPU tempature is at a high tempature. {cpu_temp}")
if __name__ == "__main__":
if packages_installed(["lm-sensors", "ntfy", "curl"]): if packages_installed(["lm-sensors", "ntfy", "curl"]):
print(f"Working! {time.time()}") print(f"Working! {time.time()}")
while True: while True: