I fixed contrib/dynamicEndpoints.py

pleas pull