summaryrefslogtreecommitdiff
path: root/presentty/rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'presentty/rst.py')
-rw-r--r--presentty/rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/presentty/rst.py b/presentty/rst.py
index 3c55f1e..b4258da 100644
--- a/presentty/rst.py
+++ b/presentty/rst.py
@@ -472,7 +472,7 @@ def main():
472 args = argp.parse_args() 472 args = argp.parse_args()
473 473
474 parser = PresentationParser(palette.DARK_PALETTE) 474 parser = PresentationParser(palette.DARK_PALETTE)
475 document, visitor = parser._parse(open(args.file).read(), args.file) 475 document, visitor = parser._parse(unicode(open(args.file).read(), 'utf-8'), args.file)
476 476
477 slides = args.slides 477 slides = args.slides
478 if not slides: 478 if not slides: