don't display 🍰 on windows :(

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-02 00:44:07 -04:00
parent 4ba1f1285c
commit 8837ad620d
+4 -1
View File
@@ -774,7 +774,10 @@ def format_pip_output(out, r=None):
def easter_egg(package_name):
if package_name in ['requests', 'maya', 'crayons', 'delegator.py', 'records', 'tablib']:
click.echo(u'P.S. You have excellent taste! ✨ 🍰 ✨')
if os.name == 'nt':
click.echo(u'P.S. You have excellent taste!')
else:
click.echo(u'P.S. You have excellent taste! ✨ 🍰 ✨')
@click.group(invoke_without_command=True)