mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +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.
|
# Assume it's a filepath - existing or not.
|
||||||
pass
|
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 = database.with_suffix(database.suffix + ".sqlite")
|
||||||
database = str(database)
|
database = str(database)
|
||||||
elif self.sql_type == "mysql":
|
elif self.sql_type == "mysql":
|
||||||
|
|||||||
Reference in New Issue
Block a user