Skip to content
Snippets Groups Projects
Commit b69a0c29 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent e425bc31
No related branches found
No related tags found
No related merge requests found
......@@ -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 ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment