From 398b857945e2b2eafa20f5d753c511ae6033485c Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Fri, 23 Feb 2024 23:31:21 -0800 Subject: [PATCH] fix: loosen package install restrictions --- brownie/project/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brownie/project/main.py b/brownie/project/main.py index df204383f..d0138b055 100644 --- a/brownie/project/main.py +++ b/brownie/project/main.py @@ -855,7 +855,7 @@ def _install_from_github(package_id: str) -> str: elif len(contract_paths) == 1: brownie_config["project_structure"]["contracts"] = contract_paths.pop() else: - raise InvalidPackage( + raise Exception( f"{package_id} has no `contracts/` subdirectory, and " "multiple directories containing source files" )