🐛 IspError should be a proper Exception

Otherwise our try-catch-blocks won't catch it anymore.
This commit is contained in:
Gina Häußge committed 2019-12-10 12:56:23 +01:00
1 parent 0faa6879b4
commit 220592c267
1 file changed
+1 -1
+1 -1
View File
@@ -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):