Please Help! Python script error in a dynamo script

@Jade
something like this perhaps?