Adaptation to python 3 of the SQLite plugin