mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 07:38:37 +00:00
Minor fix
This commit is contained in:
@@ -9,7 +9,8 @@ def load(filepath):
|
|||||||
if os.path.isfile(os.path.join(filepath, "bcf.version")):
|
if os.path.isfile(os.path.join(filepath, "bcf.version")):
|
||||||
version_path = os.path.join(filepath, "bcf.version")
|
version_path = os.path.join(filepath, "bcf.version")
|
||||||
version_id = get_version(version_path)
|
version_id = get_version(version_path)
|
||||||
if version_id == "2.1":
|
# TODO: we actually coded it for 2.1, let's check the difference between 2.0 and 2.1
|
||||||
|
if version_id == "2.1" or version_id == "2.0":
|
||||||
from bcf.v2.bcfxml import BcfXml
|
from bcf.v2.bcfxml import BcfXml
|
||||||
|
|
||||||
bcfxml = BcfXml()
|
bcfxml = BcfXml()
|
||||||
|
|||||||
Reference in New Issue
Block a user