mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
it really should not have been is
here, that would not make since
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
0d73716fce
commit
857eb42aa6
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue