From bc06f72b2802dec801dc69fea52375e4ebca1452 Mon Sep 17 00:00:00 2001 From: Wolfgang Nowak Date: Fri, 29 Dec 2023 18:04:55 +0100 Subject: [PATCH] removed typo --- background_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 background_job.py diff --git a/background_job.py b/background_job.py old mode 100644 new mode 100755 index f39b302..9e6d024 --- a/background_job.py +++ b/background_job.py @@ -67,13 +67,13 @@ def loop(): if ram_usage >= 98 and swap_usage >= 98: ram_full() - elif ram_usage >= 90 = warning_cooldown == 0: + elif ram_usage >= 90 and warning_cooldown == 0: ram_almost_full() warning_cooldown = 30 else: warning_cooldown -= 1 - + sleep(1)