diff --git a/examples/widgets/unicode_textinput.py b/examples/widgets/unicode_textinput.py index 2abb01283..84924a847 100644 --- a/examples/widgets/unicode_textinput.py +++ b/examples/widgets/unicode_textinput.py @@ -234,7 +234,7 @@ class unicode_app(App): for fdir in fonts_path: for fpath in sorted(os.listdir(fdir)): if fpath.endswith('.ttf'): - flist.append(font[:-4]) + flist.append(fpath[:-4]) return sorted(flist)