Commit 3c0e704c authored by Yann Leboulanger's avatar Yann Leboulanger

use sys.stderr.isatty() to decide if we use colors in log output or not.

parent a7a283c0
......@@ -115,7 +115,7 @@ if os.name == 'nt':
sys.path.append('.')
from common import logging_helpers
logging_helpers.init('TERM' in os.environ)
logging_helpers.init(sys.stderr.isatty())
import logging
# gajim.gui or gajim.gtk more appropriate ?
......
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