[SUBMIT ON MAIN BRANCH] Blender script: Ignore the error code that for some reason we are passing to all the exceptions
parent
e11cbae55e
commit
80840b7c95
tools
|
@ -35,7 +35,7 @@ FUZZY_TOLERANCE = 1e-5
|
|||
|
||||
class ColobotError(Exception):
|
||||
"""Exception in I/O operations"""
|
||||
def __init__(self, value):
|
||||
def __init__(self, value, errcode=None):
|
||||
self.value = value
|
||||
def __str__(self):
|
||||
return repr(self.value)
|
||||
|
|
Loading…
Reference in New Issue