Update routes.py

forgot to strip the tablenum