1
0
Fork 0

Fixed logical compare mistake

This commit is contained in:
JoshuaMKW 2020-08-19 06:35:08 -05:00
parent 2f4656026d
commit cc4360f9b8

View file

@ -90,7 +90,7 @@ def color_text(text: str, textToColor: list=[('', None)], defaultColor: str=None
format = False
for itemPair in textToColor:
if itemPair[0] != '' or itemPair[1] is not None:
if itemPair[0] != '' and itemPair[1] is not None:
format = True
break