fix: list_library_footprints accepts library_name as alias for library param
This commit is contained in:
@@ -469,7 +469,7 @@ class LibraryCommands:
|
|||||||
def list_library_footprints(self, params: Dict) -> Dict:
|
def list_library_footprints(self, params: Dict) -> Dict:
|
||||||
"""List all footprints in a specific library"""
|
"""List all footprints in a specific library"""
|
||||||
try:
|
try:
|
||||||
library = params.get("library")
|
library = params.get("library") or params.get("library_name")
|
||||||
if not library:
|
if not library:
|
||||||
return {"success": False, "message": "Missing library parameter"}
|
return {"success": False, "message": "Missing library parameter"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user