[SUBMIT ON MAIN BRANCH] Blender script: Ignore the error code that for some reason we are passing to all the exceptions

coolant-mod
immibis 2020-02-02 12:38:42 +01:00
parent e11cbae55e
commit 80840b7c95
1 changed files with 1 additions and 1 deletions

View File

@ -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)