From 360e8b40556dd4c8b775f2ed1c4e35a9df615cd6 Mon Sep 17 00:00:00 2001 From: Jordan Ruthe Date: Thu, 20 May 2021 20:26:52 -0400 Subject: [PATCH] base_panel: Fix issue with nonetype error --- panels/base_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/base_panel.py b/panels/base_panel.py index 44ee2aae..10a83a0a 100644 --- a/panels/base_panel.py +++ b/panels/base_panel.py @@ -156,7 +156,7 @@ class BasePanel(ScreenPanel): return self.layout def process_update(self, action, data): - if action != "notify_status_update": + if action != "notify_status_update" or self._printer == None: return if self._printer.has_heated_bed():