Skip to content

Commit

Permalink
调整命名避免歧义
Browse files Browse the repository at this point in the history
  • Loading branch information
TakWolf committed Feb 20, 2023
1 parent fcdd446 commit a553bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/font_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def loads():
config_data = tomllib.load(config_file)['font']
font_config = FontConfig(config_data, output_name)
font_configs.append(font_config)
font_configs.sort(key=lambda font_config: font_config.output_name)
font_configs.sort(key=lambda x: x.output_name)
return font_configs

def __init__(self, config_data, output_name, px_units=100):
Expand Down

0 comments on commit a553bdd

Please sign in to comment.