From cc4360f9b89ea8b82f4c043fa924fcabaf98f6cb Mon Sep 17 00:00:00 2001 From: JoshuaMKW <60854312+JoshuaMKW@users.noreply.github.com> Date: Wed, 19 Aug 2020 06:35:08 -0500 Subject: [PATCH] Fixed logical compare mistake --- imports/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/access.py b/imports/access.py index 51591da..c1b34b3 100644 --- a/imports/access.py +++ b/imports/access.py @@ -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