Merge branch 'master' into constructor-methods
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ def color_text(text, color):
|
||||
|
||||
# No ANSI escapes on Windows.
|
||||
if sys.platform == 'win32':
|
||||
return text
|
||||
return str(text)
|
||||
|
||||
return color + str(text) + '\033[0m'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user