summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-10 23:24:35 +0200
committermathieui <mathieui@mathieui.net>2013-08-10 23:24:35 +0200
commita724be0e726d2cd468b780d68882f755f29303b1 (patch)
tree863dd6e050d18cffe2f5ab7b550590763c6f9ca7
parenta3a4bb34dd32897cba4567aa47ac2a641bf57d27 (diff)
downloadpoezio-a724be0e726d2cd468b780d68882f755f29303b1.tar.gz
poezio-a724be0e726d2cd468b780d68882f755f29303b1.tar.bz2
poezio-a724be0e726d2cd468b780d68882f755f29303b1.tar.xz
poezio-a724be0e726d2cd468b780d68882f755f29303b1.zip
Typo
-rw-r--r--src/theming.py4
1 files changed, 3 insertions, 1 deletions
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: