From d8f214a267241ebf1d3c5b5daedbc910a31863b1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Mar 2020 21:11:21 +0530 Subject: [PATCH] oops --- kitty/fonts/core_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/fonts/core_text.py b/kitty/fonts/core_text.py index b9dc51853..469dc97f5 100644 --- a/kitty/fonts/core_text.py +++ b/kitty/fonts/core_text.py @@ -86,8 +86,8 @@ def find_best_match(family: str, bold: bool = False, italic: bool = False) -> 'C # fallback to Menlo if q not in font_map['family_map']: log_error('The font {} was not found, falling back to Menlo'.format(family)) - family = 'menlo' - return bi_match(font_map['family_map'][family], bold, italic) + q = 'menlo' + return bi_match(font_map['family_map'][q], bold, italic) def resolve_family(f: str, main_family: str, bold: bool = False, italic: bool = False) -> str: