Commit 7140b332 authored by MinchinWeb's avatar MinchinWeb

Fix PEP8 E225

missing whitespace around operator
parent 2a7a5877
......@@ -48,13 +48,13 @@ class Colors(object):
try:
if p_safe:
if 8 > int(p_int) >=0:
if 8 > int(p_int) >= 0:
return '\033[{};3{}m'.format(decoration, str(p_int))
elif 16 > int(p_int):
p_int = int(p_int) - 8
return '\033[{};1;3{}m'.format(decoration, str(p_int))
if 256 > int(p_int) >=0:
if 256 > int(p_int) >= 0:
return '\033[{};38;5;{}m'.format(decoration, str(p_int))
else:
return NEUTRAL_COLOR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment