From 149cbc1604ffd784cd7baacb52dcb5184a68509b Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sat, 18 Aug 2012 03:54:38 +0200 Subject: [PATCH] Fixed Solarized style unavailable on Windows. #87. --- httpie/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httpie/output.py b/httpie/output.py index d5631059..ca432e89 100644 --- a/httpie/output.py +++ b/httpie/output.py @@ -22,9 +22,9 @@ from .input import (OUT_REQ_BODY, OUT_REQ_HEAD, # Colors on Windows via colorama don't look that # great and fruity seems to give the best result there. +AVAILABLE_STYLES = set(STYLE_MAP.keys()) +AVAILABLE_STYLES.add('solarized') DEFAULT_STYLE = 'solarized' if not is_windows else 'fruity' -#noinspection PySetFunctionToLiteral -AVAILABLE_STYLES = set([DEFAULT_STYLE]) | set(STYLE_MAP.keys()) BINARY_SUPPRESSED_NOTICE = (