boxnotes2html

Convert Box's proprietary Box Notes to HTML, Markdown, or plain text
Log | Files | Refs | README | LICENSE

commit 6db0e5af2964b8bc234d0120802711553ac82c75
parent a4523dee1daa17ffd068ed1d4d46a4b4d5a65cc6
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 17 Jul 2019 12:42:20 -0500

fixed utf-8 encoding bug

Diffstat:
Mboxnotes2html/boxnote.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boxnotes2html/boxnote.py b/boxnotes2html/boxnote.py @@ -151,7 +151,7 @@ class BoxNote: @classmethod def from_file(cls, filepath): - with open(filepath) as f: + with open(filepath, encoding="utf8") as f: return cls(note_string=f.read()) def get_metadata(self):