Update action.py

changed d from int to float