[SOLVED]Error when I run about this

when I run the relay. I got the attribute error. How should I do? I can not figure it out! I need help! thank you!