diff --git a/stream/index.html b/stream/index.html index 8fde3af..6fa0ca3 100644 --- a/stream/index.html +++ b/stream/index.html @@ -8,7 +8,7 @@

You can try with a different resolution (between 1 and 25)

- Resolution : + Resolution :

diff --git a/stream/index.py b/stream/index.py index 0643a9c..2f1550a 100755 --- a/stream/index.py +++ b/stream/index.py @@ -42,7 +42,7 @@ def main(): body.add_child(jsIncludes) jsIncludes.add_child(mainJs) - page.print() + page.print({'res' : res}) if __name__ == '__main__': main() diff --git a/webtools/Web.py b/webtools/Web.py index c844431..68af04d 100755 --- a/webtools/Web.py +++ b/webtools/Web.py @@ -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)