Commits

Geoffrey Sneddon committed b6d9351

Woops. Missed a case of "encoding" that has to be "output_encoding".

Comments (0)

Files changed (1)

anolislib/generator.py

 
 def toFile(tree, output, output_encoding="utf-8", serializer="html5lib",
            **kwargs):
-    rendered = toString(tree, encoding=output_encoding, serializer=serializer,
-                        **kwargs)
+    rendered = toString(tree, output_encoding=output_encoding,
+                        serializer=serializer, **kwargs)
 
     # Write to the output
     output.write(rendered)