From 31893a90347e162d02db20a568d502a78876df12 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 11 Apr 2014 20:03:15 +0200 Subject: [PATCH] Removed unnecessary option --- songbook_core/plastex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/songbook_core/plastex.py b/songbook_core/plastex.py index 3affc7bd..3f3cefc9 100644 --- a/songbook_core/plastex.py +++ b/songbook_core/plastex.py @@ -65,7 +65,7 @@ class SongParser(object): def parse(cls, filename): """Parse a TeX file, and return its plasTeX representation.""" tex = cls.create_tex() - tex.input(codecs.open(filename, 'r+', 'utf-8', 'replace')) + tex.input(codecs.open(filename, 'r', 'utf-8', 'replace')) return tex.parse()