diff --git a/ks_includes/KlippyGtk.py b/ks_includes/KlippyGtk.py index 99d1b381..327bebdd 100644 --- a/ks_includes/KlippyGtk.py +++ b/ks_includes/KlippyGtk.py @@ -85,7 +85,7 @@ class KlippyGtk: return (self.width - self.get_action_bar_width()) * self.keyboard_ratio def get_temp_color(self, device): - logging.debug("Color list %s" % self.color_list) + # logging.debug("Color list %s" % self.color_list) if device not in self.color_list: return False, False @@ -96,7 +96,7 @@ class KlippyGtk: self.color_list[device]['state'] += 1 color = '{:02X}{:02X}{:02X}'.format(rgb[0], rgb[1], rgb[2]) rgb = [x/255 for x in rgb] - logging.debug("Assigning color: %s %s %s" % (device, rgb, color)) + # logging.debug("Assigning color: %s %s %s" % (device, rgb, color)) else: colors = self.color_list[device]['colors'] if self.color_list[device]['state'] >= len(colors): @@ -104,7 +104,7 @@ class KlippyGtk: color = colors[self.color_list[device]['state'] % len(colors)] rgb = [int(color[i:i+2], 16)/255 for i in range(0, 6, 2)] self.color_list[device]['state'] += 1 - logging.debug("Assigning color: %s %s %s" % (device, rgb, color)) + # logging.debug("Assigning color: %s %s %s" % (device, rgb, color)) return rgb, color diff --git a/screen.py b/screen.py index 2c3de2b4..2cb1ddb6 100644 --- a/screen.py +++ b/screen.py @@ -27,6 +27,7 @@ from ks_includes.printer import Printer from ks_includes.config import KlipperScreenConfig from panels.base_panel import BasePanel +logging.getLogger("urllib3").setLevel(logging.WARNING) logging.getLogger('matplotlib').setLevel(logging.WARNING) # This is here to avoid performance issues opening bed_mesh import matplotlib.pyplot # noqa