ifc2sql - consider .ifcsqlite suffix

This commit is contained in:
Andrej
2025-06-05 18:16:45 +05:00
parent 3a66a1c754
commit f622d2f961
+1 -1
View File
@@ -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":