Fix Python console in plugin for CLion