mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
yn returns a boolean already
This commit is contained in:
parent
eadfd7141b
commit
1f4cc2a4fe
@ -131,7 +131,7 @@ def main():
|
|||||||
take a signficant amount of time to run, you'll want to thread them so
|
take a signficant amount of time to run, you'll want to thread them so
|
||||||
they don't block the entire bot.""")
|
they don't block the entire bot.""")
|
||||||
print
|
print
|
||||||
threaded = (yn('Does your plugin need to be threaded?') == 'y')
|
threaded = yn('Does your plugin need to be threaded?')
|
||||||
|
|
||||||
if threaded:
|
if threaded:
|
||||||
threaded = 'threaded = True'
|
threaded = 'threaded = True'
|
||||||
|
Loading…
Reference in New Issue
Block a user