mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
remove try except for ifcpatch import as it's not optional
This commit is contained in:
@@ -18,17 +18,8 @@
|
||||
|
||||
import bpy
|
||||
import ifcopenshell
|
||||
import ifcpatch
|
||||
import bonsai.core.tool
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
|
||||
try:
|
||||
import ifcpatch
|
||||
except ImportError:
|
||||
print("IfcPatch not available")
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import ifcpatch
|
||||
|
||||
|
||||
class Patch(bonsai.core.tool.Patch):
|
||||
|
||||
Reference in New Issue
Block a user