Skip to content

Commit

Permalink
Fix "pc show" without params (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp authored Jan 27, 2024
1 parent 58f3b80 commit dcf16be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions partcad-cli/src/partcad_cli/cli_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ def cli_show(args):
package = args.package

params = {}
for kv in args.params:
k, v = kv.split("=")
params[k] = v
if not args.params is None:
for kv in args.params:
k, v = kv.split("=")
params[k] = v

if args.assembly:
obj = ctx.get_assembly(args.object, package, params=params)
Expand Down

0 comments on commit dcf16be

Please sign in to comment.