diff --git a/red.py b/red.py index e5c493910..c64b8b88c 100644 --- a/red.py +++ b/red.py @@ -217,6 +217,7 @@ class Bot(commands.Bot): def install(): code = subprocess.call(args) + sys.path_importer_cache = {} return not bool(code) response = self.loop.run_in_executor(None, install)