python sqlite3 select where variable