From 43d84a22882a7a4362e3df6fd71d74d296297fe7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 25 Mar 2021 22:03:13 +0100 Subject: fix: type error after module import (despite hasattr()) --- poezio/theming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/theming.py b/poezio/theming.py index d8720d51..c5df114e 100755 --- a/poezio/theming.py +++ b/poezio/theming.py @@ -574,7 +574,7 @@ def reload_theme() -> Optional[str]: return 'Failed to load theme: %s' % exc if hasattr(new_theme, 'theme'): - theme = new_theme.theme + theme = new_theme.theme # type: ignore prepare_ccolor_palette(theme) return None return 'No theme present in the theme file' -- cgit v1.2.3