loading

syntax error when running sudo /usr/local/sbin/pi_garage_alert.py?

Traceback (most recent call last):
File "/usr/local/sbin/pi_garage_alert.py", line 61, in <module>
import pi_garage_alert_config.py as cfg
File "/usr/local/etc/pi_garage_alert_config.py", line 36
'state' 'open'
^
SyntaxError: invalid syntax


Try to use python as a command to run the *.py script