Commit ec040706 authored by mathieui's avatar mathieui

Don’t traceback in theming if called without poezio installed

If we just want to see the color list, we shouldn’t need to be able to
import poezio.config
parent 3ed31ed2
......@@ -66,7 +66,11 @@ It is used for example to define color gradient, etc.
import logging
log = logging.getLogger(__name__)
from poezio.config import config
from poezio.config import config
except ImportError:
if __name__ != "__main__":
import curses
import functools
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment