From 94bf2e0ff20e29c510a05b07dd92a016bbf122b1 Mon Sep 17 00:00:00 2001 From: pux Date: Fri, 24 Jun 2022 14:46:44 +0200 Subject: is not >> != --- pyfarbpracht/pyfarbpracht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyfarbpracht') diff --git a/pyfarbpracht/pyfarbpracht.py b/pyfarbpracht/pyfarbpracht.py index d41842b..5978910 100755 --- a/pyfarbpracht/pyfarbpracht.py +++ b/pyfarbpracht/pyfarbpracht.py @@ -39,7 +39,7 @@ def colored(color, msg): c = '35' elif color == 'cyan': c = '36' - if c is not 'default': + if c != 'default': # set color ret += '\033[0;' + c + 'm' ret += msg -- cgit v1.2.2-1-g5e49