summaryrefslogtreecommitdiff
path: root/screenplain/export/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'screenplain/export/text.py')
-rw-r--r--screenplain/export/text.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/screenplain/export/text.py b/screenplain/export/text.py
index 12b8723..d4c5b77 100644
--- a/screenplain/export/text.py
+++ b/screenplain/export/text.py
@@ -2,8 +2,7 @@ import sys
import codecs
from screenplain.format import get_pages
-def to_text(screenplay, output_file):
- out = codecs.open(output_file, 'w', 'utf-8')
+def to_text(screenplay, out):
for page_no, page in enumerate(get_pages(screenplay)):
# page_no is 0-based
if page_no != 0: