Don't use 'is not' for string comparison.

This commit is contained in:
Valentin Lorentz 2020-03-25 20:10:06 +01:00
parent de77ce6ddc
commit 5f620ddd5c

View File

@ -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))