🐛 IspError should be a proper Exception
Otherwise our try-catch-blocks won't catch it anymore.
This commit is contained in:
1 parent
0faa6879b4
commit
220592c267
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user