mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
ifc2sql - consider .ifcsqlite suffix
This commit is contained in:
@@ -164,7 +164,7 @@ class Patcher(ifcpatch.BasePatcher):
|
||||
# Assume it's a filepath - existing or not.
|
||||
pass
|
||||
|
||||
if database.suffix.lower() not in (".sqlite", ".db"):
|
||||
if database.suffix.lower() not in (".sqlite", ".db", ".ifcsqlite"):
|
||||
database = database.with_suffix(database.suffix + ".sqlite")
|
||||
database = str(database)
|
||||
elif self.sql_type == "mysql":
|
||||
|
||||
Reference in New Issue
Block a user