[pyqgis-console] fix object inspector on windows 7
- minor fixes