From afe4af0dc21f0739e35c7e49da4c103f0bd62bfd Mon Sep 17 00:00:00 2001 From: Michael H Date: Mon, 16 Apr 2018 15:57:57 -0400 Subject: [PATCH] [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 --- redbot/launcher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redbot/launcher.py b/redbot/launcher.py index 26438cc62..d6abf3b63 100644 --- a/redbot/launcher.py +++ b/redbot/launcher.py @@ -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()