Skip to content

Commit

Permalink
name-parser: Unify quotes used for strings
Browse files Browse the repository at this point in the history
[why]
We use single quotes everywhere else.
Keep this consistent.

Signed-off-by: Fini Jastrow <[email protected]>
  • Loading branch information
Finii committed Sep 27, 2023
1 parent a03744a commit 2c8874b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/FontnameTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def postscript_char_filter(name):
"""Filter out characters that are not allowed in Postscript names"""
# The name string must be restricted to the printable ASCII subset, codes 33 to 126,
# except for the 10 characters '[', ']', '(', ')', '{', '}', '<', '>', '/', '%'
out = ""
out = ''
for c in name:
if c in '[](){}<>/%' or ord(c) < 33 or ord(c) > 126:
continue
Expand Down

0 comments on commit 2c8874b

Please sign in to comment.