[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 subprocess
import sys import sys
import argparse import argparse
import asyncio
import pkg_resources import pkg_resources
from redbot.setup import basic_setup, load_existing_config, remove_instance from redbot.setup import basic_setup, load_existing_config, remove_instance
@ -319,7 +320,7 @@ def main_menu():
basic_setup() basic_setup()
wait() wait()
elif choice == "6": elif choice == "6":
remove_instance() asyncio.get_event_loop().run_until_complete(remove_instance())
wait() wait()
elif choice == "7": elif choice == "7":
debug_info() debug_info()