gyrojeff commited on
Commit
85256a0
1 Parent(s): fb7efe2

feat: add log

Browse files
Files changed (1) hide show
  1. font_dataset/text.py +1 -0
font_dataset/text.py CHANGED
@@ -49,6 +49,7 @@ def random_char(length: int, font: DSFont, char_set: str) -> str:
49
  ret += char
50
  else:
51
  fail_cnt += 1
 
52
  if fail_cnt > 2000:
53
  raise UnqualifiedFontException(font)
54
 
 
49
  ret += char
50
  else:
51
  fail_cnt += 1
52
+ print(f"FAILING {fail_cnt} for {font.path}")
53
  if fail_cnt > 2000:
54
  raise UnqualifiedFontException(font)
55