mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Build testing prototype of an SQLite based file / entity_instance.
This commit is contained in:
@@ -23,5 +23,7 @@ def guess_format(path: Path) -> "str | None":
|
||||
"""Try to guess format using file extension"""
|
||||
if path.suffix.lower() in (".ifczip", ".zip"):
|
||||
return ".ifcZIP"
|
||||
if path.suffix.lower() in (".ifcxml", ".xml"):
|
||||
elif path.suffix.lower() in (".ifcxml", ".xml"):
|
||||
return ".ifcXML"
|
||||
elif path.suffix.lower() in (".ifcsqlite", ".sqlite", ".db"):
|
||||
return ".ifcSQLite"
|
||||
|
||||
Reference in New Issue
Block a user