Update tables.py

Line 89 error fixed