Fix stupid mistake in designflow.pnr.doTask(), not executing script.

This commit is contained in:
Jean-Paul Chaput 2023-09-21 12:18:18 +02:00
parent c8d98a304e
commit ad53372253
1 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,8 @@ class PnR ( FlowTask ):
e = ErrorMessage( 1, 'PnR.doTask(): "script" argument is *not* callable.' )
return TaskFailed( e )
kw = {}
if self.script and self.topName:
if self.script:
if self.topName:
kw[ 'loadCell' ] = self.topName
self.script( **kw )
if not PnR.textMode: