From 4e599cf1326e676bb361ab5dab562c66007ab841 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 29 Jun 2023 22:04:18 +0200 Subject: [PATCH] Fix openbot build --- src/ifcopenshell-python/ifcopenshell/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/__init__.py b/src/ifcopenshell-python/ifcopenshell/__init__.py index c2e68fa898..4e908f51b3 100644 --- a/src/ifcopenshell-python/ifcopenshell/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/__init__.py @@ -72,7 +72,9 @@ from . import guid from .file import file from .entity_instance import entity_instance, register_schema_attributes from .sql import sqlite, sqlite_entity -from .stream import stream, stream_entity +try: + from .stream import stream, stream_entity +except: pass READ_ERROR = ifcopenshell_wrapper.file_open_status.READ_ERROR NO_HEADER = ifcopenshell_wrapper.file_open_status.NO_HEADER