Update the themes dir during execution, and not at module level

This commit is contained in:
mathieui 2014-04-24 21:25:31 +02:00
parent 5012611bd7
commit 828f60fcb8
2 changed files with 3 additions and 2 deletions

View file

@ -33,6 +33,9 @@ def main():
from config import options
import theming
theming.update_themes_dir()
import logger
logger.create_logger()

View file

@ -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()