| Message ID | 20220629070416.17550-2-tomi.valkeinen@ideasonboard.com | 
|---|---|
| State | Superseded | 
| Headers | show | 
| Series | 
 | 
| Related | show | 
diff --git a/src/py/cam/cam.py b/src/py/cam/cam.py index 2ae89fa8..8a82e092 100755 --- a/src/py/cam/cam.py +++ b/src/py/cam/cam.py @@ -434,7 +434,10 @@ def main(): if args.info: ctx.do_cmd_info() - if args.capture: + # Filter out capture contexts which are not marked for capture + contexts = [ctx for ctx in contexts if ctx.opt_capture > 0] + + if contexts: state = CaptureState(cm, contexts) if args.renderer == 'null':