Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix test

BillSchumacher4701357a21cf
diff --git a/autogpt/plugins.py b/autogpt/plugins.py
index a9e48a38c0..0979b8561f 100644
--- a/autogpt/plugins.py
+++ b/autogpt/plugins.py
@@ -196,7 +196,7 @@ def scan_plugins(cfg: Config, debug: bool = False) -> List[AutoGPTPluginTemplate
module = Path(module)
if debug:
print(f"Plugin: {plugin} Module: {module}")
- zipped_package = zipimporter(plugin)
+ zipped_package = zipimporter(str(plugin))
zipped_module = zipped_package.load_module(str(module.parent))
for key in dir(zipped_module):
if key.startswith("__"):