yn returns a boolean already

This commit is contained in:
James Vega 2004-03-02 19:35:35 +00:00
parent eadfd7141b
commit 1f4cc2a4fe

View File

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