Minor fix

This commit is contained in:
Dion Moult
2021-07-06 18:17:34 +10:00
parent 3dcd10b478
commit 5cfbcf211b
+2 -1
View File
@@ -9,7 +9,8 @@ def load(filepath):
if os.path.isfile(os.path.join(filepath, "bcf.version")):
version_path = os.path.join(filepath, "bcf.version")
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
bcfxml = BcfXml()