aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/extras/statistics.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/statistics.py b/klippy/extras/statistics.py
index f79c7add..1adcdce4 100644
--- a/klippy/extras/statistics.py
+++ b/klippy/extras/statistics.py
@@ -16,6 +16,7 @@ def get_os_stats(eventtime):
for line in data.split('\n'):
if line.startswith("MemAvailable:"):
msg = "%s memavail=%s" % (msg, line.split()[1])
+ break
except:
pass
return (False, msg)