From 220592c26765d4b00bbba8b91bd46f8cff9bb567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 10 Dec 2019 12:56:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20IspError=20should=20be=20a=20pro?= =?UTF-8?q?per=20Exception?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise our try-catch-blocks won't catch it anymore. --- src/octoprint/util/avr_isp/ispBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/avr_isp/ispBase.py b/src/octoprint/util/avr_isp/ispBase.py index 0067b4fac..cf52b265e 100644 --- a/src/octoprint/util/avr_isp/ispBase.py +++ b/src/octoprint/util/avr_isp/ispBase.py @@ -31,7 +31,7 @@ class IspBase(): def chipErase(self): self.sendISP([0xAC, 0x80, 0x00, 0x00]) -class IspError(): +class IspError(Exception): def __init__(self, value): self.value = value def __str__(self):