Correct error message if incorrect file suffix supplied

pull/31/head
Timothy Lovelock 2021-01-24 17:18:21 +01:00
rodzic 6f92a32848
commit 823be23509
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -622,7 +622,7 @@ if __name__ == "__main__":
quit("Font filename does not exist")
if not os.path.splitext(args.infile)[1].upper() in ('.TTF', '.OTF', '.BDF'):
quit("Font file should be a ttf or otf file.")
quit("Font file should be a ttf, otf, or bdf file.")
if args.binary:
if os.path.splitext(args.outfile)[1].upper() == '.PY':