From a724be0e726d2cd468b780d68882f755f29303b1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 10 Aug 2013 23:24:35 +0200 Subject: Typo --- src/theming.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/theming.py b/src/theming.py index 18115587..232ed134 100644 --- a/src/theming.py +++ b/src/theming.py @@ -430,6 +430,8 @@ def update_themes_dir(option=None, value=None): if poezio_themes.__path__: load_path.append(list(poezio_themes.__path__)[0]) + log.debug('Theme load path: %s', load_path) + def reload_theme(): theme_name = config.get('theme', 'default') global theme @@ -442,7 +444,7 @@ def reload_theme(): if version_info[1] < 3: file, filename, info = imp.find_module(theme_name, load_path) imp.acquire_lock() - new_theme = imp.load_module(them_name, file, filename, info) + new_theme = imp.load_module(theme_name, file, filename, info) else: loader = finder.find_module(theme_name, load_path) if not loader: -- cgit v1.2.3