Advertisement
silver2row

error for objectOne and objectTwo in the server

Feb 2nd, 2021
882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.68 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "MotorCapeTwo.py", line 160, in <module>
  3.     add_motors_routeFour("0",   0)
  4.   File "MotorCapeTwo.py", line 151, in add_motors_routeFour
  5.     @app.route("/" + state, endpoint=state)
  6.   File "/usr/lib/python3/dist-packages/flask/app.py", line 1250, in decorator
  7.     self.add_url_rule(rule, endpoint, f, **options)
  8.   File "/usr/lib/python3/dist-packages/flask/app.py", line 66, in wrapper_func
  9.     return f(self, *args, **kwargs)
  10.   File "/usr/lib/python3/dist-packages/flask/app.py", line 1221, in add_url_rule
  11.     'existing endpoint function: %s' % endpoint)
  12. AssertionError: View function mapping is overwriting an existing endpoint function: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement