Fixed logical compare mistake
This commit is contained in:
parent
2f4656026d
commit
cc4360f9b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue