From ed307d9ab9a0a4ce1f83b415978c83da0be2efcc Mon Sep 17 00:00:00 2001 From: gclendenning <64431984+gclendenning@users.noreply.github.com> Date: Sun, 15 Dec 2024 17:10:32 +0000 Subject: [PATCH] Fix font cache dir name --- datamapplot/interactive_rendering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datamapplot/interactive_rendering.py b/datamapplot/interactive_rendering.py index d6e6b13..d6a84d1 100644 --- a/datamapplot/interactive_rendering.py +++ b/datamapplot/interactive_rendering.py @@ -1032,7 +1032,7 @@ def render_html( if offline_mode_font_data_file is None: data_directory = platformdirs.user_data_dir("datamapplot") - offline_mode_font_data_file = Path(data_directory) / "datamapplot_font_encoded.json" + offline_mode_font_data_file = Path(data_directory) / "datamapplot_fonts_encoded.json" if not offline_mode_font_data_file.is_file(): offline_mode_caching.cache_fonts()