diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-25 22:03:13 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-02 17:44:36 +0200 |
commit | 43d84a22882a7a4362e3df6fd71d74d296297fe7 (patch) | |
tree | 2c4427574dc5fe4fe98f7f686a8ac518fc198544 | |
parent | 7a9df693641fc68a4e5ba98ebdea9324892cbbc1 (diff) | |
download | poezio-43d84a22882a7a4362e3df6fd71d74d296297fe7.tar.gz poezio-43d84a22882a7a4362e3df6fd71d74d296297fe7.tar.bz2 poezio-43d84a22882a7a4362e3df6fd71d74d296297fe7.tar.xz poezio-43d84a22882a7a4362e3df6fd71d74d296297fe7.zip |
fix: type error after module import
(despite hasattr())
-rwxr-xr-x | poezio/theming.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |