Issue with query.exec_ in PyQt5

Printable View