Skip to content

Commit

Permalink
fix #2360
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jun 4, 2016
1 parent 88f7071 commit ce8df8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nikola/__main__.py
Expand Up @@ -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
Expand Down

0 comments on commit ce8df8c

Please sign in to comment.