From 5f620ddd5c9c94b6e1004a749e4f9017d5db9082 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 25 Mar 2020 20:10:06 +0100 Subject: [PATCH] Don't use 'is not' for string comparison. --- scripts/supybot-wizard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot-wizard b/scripts/supybot-wizard index 4552fee52..736c946fb 100644 --- a/scripts/supybot-wizard +++ b/scripts/supybot-wizard @@ -696,7 +696,7 @@ def main(): output("""Some terminals may not be able to display the pretty colors logged to stderr. By default, though, we turn the colors off for Windows machines and leave it on for *nix machines.""") - if os.name is not 'nt': + if os.name != 'nt': conf.supybot.log.stdout.colorized.setValue( not yn('Would you like to turn this colorization off?', default=False))