mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Don't use 'is not' for string comparison.
This commit is contained in:
parent
de77ce6ddc
commit
5f620ddd5c
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user