mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
Fix dropping db in redbot-setup delete (#3833)
* Fix dropping db in `redbot-setup delete` * fix docstrings
This commit is contained in:
@@ -381,7 +381,7 @@ class MongoDriver(BaseDriver):
|
||||
while True:
|
||||
resp = input("> ")
|
||||
try:
|
||||
drop_db = bool(options.index(resp))
|
||||
drop_db = not bool(options.index(resp))
|
||||
except ValueError:
|
||||
print("Please type a number corresponding to one of the options.")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user