From 3574f0e17958b83b07854b7ee857aee06f38d5a8 Mon Sep 17 00:00:00 2001 From: Kaalleen Date: Wed, 10 May 2023 17:12:20 +0200 Subject: do it right --- lib/lettering/font.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/lettering/font.py b/lib/lettering/font.py index c4c16729..77f17e7f 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -185,7 +185,7 @@ class Font(object): custom_dir = get_custom_font_dir() if not custom_dir: return False - return get_custom_font_dir() in self.path + return custom_dir in self.path def render_text(self, text, destination_group, variant=None, back_and_forth=True, trim_option=0, use_trim_symbols=False): -- cgit v1.2.3