[V3 Launcher] fix issue with instance removal via launcher (#1535)

* handle issue

* or it would have if I had put it on the right line

* no more making patches from my phone
This commit is contained in:
Michael H 2018-04-16 15:57:57 -04:00 committed by palmtree5
parent fb8e4430ac
commit afe4af0dc2

View File

@ -4,6 +4,7 @@ import platform
import subprocess
import sys
import argparse
import asyncio
import pkg_resources
from redbot.setup import basic_setup, load_existing_config, remove_instance
@ -319,7 +320,7 @@ def main_menu():
basic_setup()
wait()
elif choice == "6":
remove_instance()
asyncio.get_event_loop().run_until_complete(remove_instance())
wait()
elif choice == "7":
debug_info()