chore: change batteries

This commit is contained in:
github-actions[bot] 2024-06-15 00:30:12 +00:00
parent 014db19418
commit cdb0d3afe8

View file

@ -6,7 +6,7 @@
from __future__ import absolute_import, print_function, unicode_literals from __future__ import absolute_import, print_function, unicode_literals
# Change the script version when you edit this script: # Change the script version when you edit this script:
script_version = "4.14.3" script_version = "4.14.4"
version = "3.2.1" version = "3.2.1"
projectName = "Nerd Fonts" projectName = "Nerd Fonts"
@ -2127,6 +2127,9 @@ def main():
sourceFonts = [] sourceFonts = []
all_fonts = fontforge.fontsInFile(args.font) all_fonts = fontforge.fontsInFile(args.font)
if not all_fonts:
logger.critical("Can not find any fonts in '%s'", args.font)
sys.exit(1)
for i, subfont in enumerate(all_fonts): for i, subfont in enumerate(all_fonts):
if len(all_fonts) > 1: if len(all_fonts) > 1:
print("\n") print("\n")