From 1f4cc2a4fe64106d0eea4af7a65dc3e594a95d3f Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 2 Mar 2004 19:35:35 +0000 Subject: [PATCH] yn returns a boolean already --- scripts/supybot-newplugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot-newplugin b/scripts/supybot-newplugin index 9824f2407..0b6bf3389 100755 --- a/scripts/supybot-newplugin +++ b/scripts/supybot-newplugin @@ -131,7 +131,7 @@ def main(): take a signficant amount of time to run, you'll want to thread them so they don't block the entire bot.""") print - threaded = (yn('Does your plugin need to be threaded?') == 'y') + threaded = yn('Does your plugin need to be threaded?') if threaded: threaded = 'threaded = True'