quando tento abrir as paginas dá esse erro:
Traceback (most recent call last):
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/rodrigo/PycharmProjects/Jogoteca/jogoteca.py", line 23, in index
lista = jogo_dao.listar()
File "/home/rodrigo/PycharmProjects/Jogoteca/dao.py", line 27, in listar
cursor = self.__db.connection.cursor()
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask_mysqldb/__init__.py", line 94, in connection
ctx.mysql_db = self.connect
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/flask_mysqldb/__init__.py", line 81, in connect
return MySQLdb.connect(**kwargs)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/MySQLdb/__init__.py", line 84, in Connect
return Connection(*args, **kwargs)
File "/home/rodrigo/.local/share/virtualenvs/Jogoteca-H3opGGqP/lib/python3.6/site-packages/MySQLdb/connections.py", line 164, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required (got type str)