summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/poezio.py3
-rw-r--r--src/theming.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/poezio.py b/src/poezio.py
index f9d27a51..c5c0b33c 100644
--- a/src/poezio.py
+++ b/src/poezio.py
@@ -33,6 +33,9 @@ def main():
from config import options
+ import theming
+ theming.update_themes_dir()
+
import logger
logger.create_logger()
diff --git a/src/theming.py b/src/theming.py
index 31208ad0..9e285378 100644
--- a/src/theming.py
+++ b/src/theming.py
@@ -511,8 +511,6 @@ def reload_theme():
else:
return 'No theme present in the theme file'
-update_themes_dir()
-
if __name__ == '__main__':
# Display some nice text with nice colors
s = curses.initscr()