Update action.py

Error