Skip to content
Permalink
Browse files
fix #2360
  • Loading branch information
ralsina committed Jun 4, 2016
1 parent 88f7071 commit ce8df8c8e5209ba2e9fdfc201e2a08f7bbbad180
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGES.txt
  2. +1 −1 nikola/__main__.py
@@ -4,6 +4,7 @@ New in master
Features
--------

* Option to disable color output using NIKOLA_MONO envvar (Issue #2360)
* Improved locale detection in Windows (Issue #2343)
* Added ``enclosure_length`` meta field for better interop (Issue #2338)
* New Lithuanian translation by Antanas Lasys
@@ -68,7 +68,7 @@
def main(args=None):
"""Run Nikola."""
colorful = False
if sys.stderr.isatty() and os.name != 'nt':
if sys.stderr.isatty() and os.name != 'nt' and os.getenv('NIKOLA_MONO') is None:
colorful = True

ColorfulStderrHandler._colorful = colorful

0 comments on commit ce8df8c

Please sign in to comment.