Skip to content

Commit 57c3557

Browse files
linter
1 parent 0afc39e commit 57c3557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemascii/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def render(filename: str, text: str = None, **options) -> str:
1212
"Render the Schemascii diagram to an SVG string."
1313
if text is None:
14-
with open(filename) as f:
14+
with open(filename, encoding="ascii") as f:
1515
text = f.read()
1616
# get everything
1717
grid = Grid(filename, text)

0 commit comments

Comments
 (0)