do not spam output in non terminal type environments like PyCharm