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)