Improved form in stream and corrected a bug in web.py

This commit is contained in:
Thomas FORGIONE
2015-04-12 21:46:02 +02:00
parent 7b98fe724b
commit 8f923cb757
3 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class Element:
self.children.append(child)
def print(self, format = {}):
self.open()
self.open(format)
for i in self.children:
i.print(format)
self.close()
self.close(format)