Skip to content

Commit b6075af

Browse files
authored
Merge pull request #23 from Case3y/main
fix UnicodeDecodeError
2 parents 9823deb + bcd634e commit b6075af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/instantiate-code-fonts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
fontPath = glob.glob('./font-data/Recursive_VF_*.ttf')[0] # allows script to run without font path passed in.
4141

4242
# read yaml config
43-
with open(configPath) as file:
43+
with open(configPath, encoding='utf-8') as file:
4444
fontOptions = yaml.load(file, Loader=yaml.FullLoader)
4545

4646
# GET / SET NAME HELPER FUNCTIONS

0 commit comments

Comments
 (0)