From f622d2f961aa5bc9da90e58a8619aad1a1b5d9f6 Mon Sep 17 00:00:00 2001 From: Andrej Date: Thu, 5 Jun 2025 18:16:45 +0500 Subject: [PATCH] ifc2sql - consider .ifcsqlite suffix --- src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py b/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py index 477ed354ff..20b0f0d54e 100644 --- a/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py +++ b/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py @@ -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":