Skip to content

Commit 6074cd5

Browse files
committed
read config using utf-8
1 parent f2c141d commit 6074cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbval/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def setup_sanitize_files(self):
277277
load the contents of the file into the sanitise patterns dictionary.
278278
"""
279279
for fname in self.get_sanitize_files():
280-
with open(fname, 'r') as f:
280+
with open(fname, 'r', encoding="utf-8") as f:
281281
self.sanitize_patterns.update(get_sanitize_patterns(f.read()))
282282

283283

0 commit comments

Comments
 (0)