From 80840b7c95c7e312e5821254960cfc6b01cf3081 Mon Sep 17 00:00:00 2001 From: immibis Date: Sun, 2 Feb 2020 12:38:42 +0100 Subject: [PATCH] [SUBMIT ON MAIN BRANCH] Blender script: Ignore the error code that for some reason we are passing to all the exceptions --- tools/blender-scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/blender-scripts.py b/tools/blender-scripts.py index 92f246b0..b4104793 100644 --- a/tools/blender-scripts.py +++ b/tools/blender-scripts.py @@ -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)