forked from CreatBot/CreatBotKlipperScreen
Improve error messages (#549)
Shows if the issue is with moonraker or klipper if the issue is with klipper and there is info about it then show it Reconnect now has a counter and it's visible to the user
This commit is contained in:
@@ -377,5 +377,8 @@ class Printer:
|
||||
for x in self.tempstore[device]:
|
||||
if len(self.tempstore[device][x]) >= 1200:
|
||||
self.tempstore[device][x].pop(0)
|
||||
self.tempstore[device][x].append(round(self.get_dev_stat(device, x[:-1]), 2))
|
||||
temp = self.get_dev_stat(device, x[:-1])
|
||||
if temp is None:
|
||||
temp = 0
|
||||
self.tempstore[device][x].append(round(temp))
|
||||
return True
|
||||
|
Reference in New Issue
Block a user