mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
ifctester.reporter.Txt small fix
This commit is contained in:
@@ -218,7 +218,7 @@ class Txt(Console):
|
|||||||
self.text = ""
|
self.text = ""
|
||||||
|
|
||||||
def print(self, txt: str, end: Optional[str] = None):
|
def print(self, txt: str, end: Optional[str] = None):
|
||||||
self.text += txt + "\n" if end is None else txt
|
self.text += txt + "\n" if end is None else end
|
||||||
|
|
||||||
def to_string(self) -> None:
|
def to_string(self) -> None:
|
||||||
print(self.text)
|
print(self.text)
|
||||||
|
|||||||
Reference in New Issue
Block a user