mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Set _HAS_DRAW correctly
This commit is contained in:
@@ -25,7 +25,12 @@ from typing import Any
|
||||
import ifcopenshell
|
||||
import ifcopenshell.geom
|
||||
import ifcopenshell.util.selector
|
||||
import ifcopenshell.draw
|
||||
try:
|
||||
import ifcopenshell.draw
|
||||
|
||||
_HAS_DRAW = True
|
||||
except ImportError:
|
||||
_HAS_DRAW = False
|
||||
|
||||
from xml.etree.ElementTree import ElementTree, Element, SubElement, register_namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user