Fix #1282. Bug where unable to install add-on in older Blender versions.

This commit is contained in:
Dion Moult
2021-02-03 14:45:52 +11:00
parent aa41f698c1
commit 08d959f66d
+1 -1
View File
@@ -3,7 +3,6 @@ import sys
import shutil
import tempfile
import ifcopenshell
import ifcopenshell.express
import behave.formatter.pretty # Needed for pyinstaller to package it
from bimtester.ifc import IfcStore
from behave.__main__ import main as behave_main
@@ -15,6 +14,7 @@ class TestRunner:
IfcStore.file = ifc if ifc else ifcopenshell.open(ifc_path)
if schema:
import ifcopenshell.express
schema = ifcopenshell.express.parse(path)
ifcopenshell.register_schema(schema)