From db71ed1ae9dedd11e67a40ebaa153ed66414adc7 Mon Sep 17 00:00:00 2001 From: TonyCrane Date: Tue, 15 Feb 2022 14:38:55 +0800 Subject: [PATCH] fix: fix type hint of remove_empty_value --- manimlib/utils/init_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/utils/init_config.py b/manimlib/utils/init_config.py index d4e1ac5d..cb0a1787 100644 --- a/manimlib/utils/init_config.py +++ b/manimlib/utils/init_config.py @@ -17,7 +17,7 @@ def get_manim_dir() -> str: return os.path.abspath(os.path.join(manimlib_dir, "..")) -def remove_empty_value(dictionary: dict[str, Any]) -> dict[str, Any]: +def remove_empty_value(dictionary: dict[str, Any]) -> None: for key in list(dictionary.keys()): if dictionary[key] == "": dictionary.pop(key)