[pyqgis-console] fix typo and indentation update