From 857eb42aa6ccf7a49301c5013939810b6ce2f650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sat, 17 Aug 2013 06:38:52 +0200 Subject: [PATCH] it really should not have been `is` here, that would not make since MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ponysay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ponysay.py b/src/ponysay.py index 7404b653..3bb62b17 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -976,8 +976,8 @@ class Ponysay(): ## Print the output, truncated on height is so set lines = gettermsize()[0] - int(env_lines) - if self.linuxvt or (env_height is ('yes', 'y', '1')): - if env_bottom is ('yes', 'y', '1'): + if self.linuxvt or (env_height in ('yes', 'y', '1')): + if env_bottom in ('yes', 'y', '1'): for line in output.split('\n')[: -lines]: print(line) else: