ifctester - fix bug adding second .ods extension

This commit is contained in:
Andrej730
2024-04-16 14:23:37 +05:00
parent 836293504c
commit 708ee7350b
+1 -1
View File
@@ -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):