Revert "Update consolewrap.py"

This reverts commit fe04335ce1b5202305ddba63e135476524ed581b.