From 67ff596f8dcbf5bd25a4f7b4ba4aef0c5ae3fbf3 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 29 Feb 2016 10:49:14 -0800 Subject: [PATCH] make the ENABLE/DISABLE markers ASCII --- notebook/nbextensions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/nbextensions.py b/notebook/nbextensions.py index 52c091e95..d016d1995 100644 --- a/notebook/nbextensions.py +++ b/notebook/nbextensions.py @@ -35,8 +35,8 @@ from tornado.log import LogFormatter # Constants for pretty print extension listing function. # Window doesn't support unicode characters in the commandline, so use T/F. -GREEN_ENABLED = '\033[32m✔️\033[0m' if os.name != 'nt' else 'T' -RED_DISABLED = '\033[31m❌\033[0m' if os.name != 'nt' else 'F' +GREEN_ENABLED = '\033[32mO\033[0m' if os.name != 'nt' else 'T' +RED_DISABLED = '\033[31mX\033[0m' if os.name != 'nt' else 'F' #------------------------------------------------------------------------------ # Public API