Only import colorama on windows systems.

This commit is contained in:
Bastian Kleineidam 2012-10-01 18:01:56 +02:00
parent a53e1f63bc
commit c1dc5892c8

View file

@ -16,6 +16,7 @@ from math import log, floor
from .output import out
from .configuration import UserAgent, AppName, App, SupportUrl
from .fileutil import has_module, is_tty
if os.name == 'nt':
from . import colorama
has_curses = has_module("curses")