mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 10:32:42 +00:00
ifctester - fix bug adding second .ods extension
This commit is contained in:
@@ -495,7 +495,7 @@ class Ods(Json):
|
|||||||
table.addElement(tr)
|
table.addElement(tr)
|
||||||
self.doc.spreadsheet.addElement(table)
|
self.doc.spreadsheet.addElement(table)
|
||||||
|
|
||||||
self.doc.save(filepath, addsuffix=filepath.lower().endswith(".ods"))
|
self.doc.save(filepath, addsuffix=not filepath.lower().endswith(".ods"))
|
||||||
|
|
||||||
|
|
||||||
class Bcf(Json):
|
class Bcf(Json):
|
||||||
|
|||||||
Reference in New Issue
Block a user