aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/extras/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/statistics.py b/klippy/extras/statistics.py
index d9c0a367..90cd53f8 100644
--- a/klippy/extras/statistics.py
+++ b/klippy/extras/statistics.py
@@ -13,7 +13,7 @@ class PrinterSysStats:
self.last_mem_avail = 0
self.mem_file = None
try:
- self.mem_file = open("/proc/meminfo", "rb")
+ self.mem_file = open("/proc/meminfo", "r")
except:
pass
printer.register_event_handler("klippy:disconnect", self._disconnect)