[pyqgis-console] remove duplicate entries