mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
ifctester - fix bug adding second .ods extension
This commit is contained in:
@@ -495,7 +495,7 @@ class Ods(Json):
|
||||
table.addElement(tr)
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user