summaryrefslogtreecommitdiff
path: root/src/theming.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/theming.py')
-rw-r--r--src/theming.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theming.py b/src/theming.py
index d62b47ae..18115587 100644
--- a/src/theming.py
+++ b/src/theming.py
@@ -427,7 +427,8 @@ def update_themes_dir(option=None, value=None):
except:
pass
else:
- load_path.append(poezio_themes.__path__[0])
+ if poezio_themes.__path__:
+ load_path.append(list(poezio_themes.__path__)[0])
def reload_theme():
theme_name = config.get('theme', 'default')