diff --git a/documentation/examples/AM2901/doChip.py b/documentation/examples/AM2901/doChip.py index 60b04a3d..b5b981c8 100755 --- a/documentation/examples/AM2901/doChip.py +++ b/documentation/examples/AM2901/doChip.py @@ -57,7 +57,10 @@ framework = CRL.AllianceFramework.get() def ScriptMain ( **kw ): success = False - doStages = kw['doStages'] + if kw.has_key('doStages'): + doStages = kw['doStages'] + else: + doStages = ChipStages try: cell, editor = plugins.kwParseMain( **kw )