mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Added feature based off of https://github.com/kepoorhampond/irs/issues/8
This commit is contained in:
parent
65c7709e39
commit
2e3a0e9196
|
@ -55,7 +55,7 @@ def color(text, colors=[]):
|
|||
for color in colors:
|
||||
color_string += "bc.%s + " % color
|
||||
color_string = color_string[:-2]
|
||||
return (bc.ENDC + eval(color_string) + text + bc.ENDC)
|
||||
return (bc.ENDC + eval(color_string) + str(text) + bc.ENDC)
|
||||
|
||||
def color_input(text):
|
||||
print (bc.HEADER + text, end=" ")
|
||||
|
|
Loading…
Reference in a new issue