[F] Fix: Only show pride month animation in tty mode
This commit is contained in:
parent
5f066e4ebf
commit
df11c756dd
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ def run():
|
|||
|
||||
# Check if it's June (pride month)
|
||||
now = datetime.datetime.now()
|
||||
if now.month == 6 and now.year not in config.pride_month_shown:
|
||||
if now.month == 6 and now.year not in config.pride_month_shown and os.isatty(sys.stdout.fileno()):
|
||||
args.june = True
|
||||
|
||||
if args.june:
|
||||
|
|
Loading…
Reference in a new issue